{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"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":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"steps-board.StepsBoard (cyclomatic 299): steps-board.StepsBoard has cyclomatic complexity 299 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 255 belong to 66 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"b533602cdeb771f90a1737003333b70f0a1c8f3665a70c2acac6782ca7591d8a"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-extract.extractTrace (cyclomatic 198): run-report-extract.extractTrace has cyclomatic complexity 198 (threshold 15). Of this number, 181 points are the body\u0027s own statements and 17 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"a209728fc567e4b664e93b437c59f823af7f1b05f06c8d141c044d3d0b68fe1a"}},{"ruleId":"D1","level":"warning","message":{"text":"trails.TrailsScreen (cyclomatic 189): trails.TrailsScreen has cyclomatic complexity 189 (threshold 15). Of this number, 86 points are the body\u0027s own statements and 103 belong to 32 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59ab2a93f3c5758f24b002f1d4f7848e1ce605307c224064545cdeaa2f8737b"}},{"ruleId":"D1","level":"warning","message":{"text":"record.RecordScreen (cyclomatic 177): record.RecordScreen has cyclomatic complexity 177 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (record.RecordScreen::propose, record.RecordScreen::runAdhocYaml) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78508fc370ddcacd611044682cba809cd8ecca3b8f822317d0a0727c3c29c27"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::render (cyclomatic 164): run-report-viewer.RUN_REPORT_VIEWER::render has cyclomatic complexity 164 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8245}}}],"partialFingerprints":{"codehealthFindingId/v1":"485e7f59c82af0d2f27f8e89fbb9f5646c186dced0a00fac39e76779c10eb0b2"}},{"ruleId":"D1","level":"warning","message":{"text":"waypoint-graph-template.html.SubwayView (cyclomatic 153): waypoint-graph-template.html.SubwayView has cyclomatic complexity 153 (threshold 15). Most of this is not in the body itself: 13 of the 153 points are its own statements and the rest belongs to 47 function items inside it that branch (a function literal at line 2510, a function literal at line 2400, a function literal at line 2243, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"9214ac07400036c220bfe56f44e80097da88cefc17ae4a60d62c58a298d55216"}},{"ruleId":"D1","level":"warning","message":{"text":"ui.Select (cyclomatic 131): ui.Select has cyclomatic complexity 131 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 101 belong to 26 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e127c0df083e628625d111042e9caeee572bff7cbdf6274a9b7ee69755c2cb0a"}},{"ruleId":"D1","level":"warning","message":{"text":"sessions.SessionsScreen (cyclomatic 124): sessions.SessionsScreen has cyclomatic complexity 124 (threshold 15). Of this number, 71 points are the body\u0027s own statements and 53 belong to 17 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a913cf717cafffa236c8795da5057106f6a4b75928f5523dd4435fbdeab3b3d7"}},{"ruleId":"D1","level":"warning","message":{"text":"devices.EditTargetModal (cyclomatic 122): devices.EditTargetModal has cyclomatic complexity 122 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 81 belong to 21 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3d39ac99b0122e35c34cc17d03081ca7145d948e74afc2bdd8753363a7cc7c"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary-model.buildSummaryModel (cyclomatic 116): run-report-summary-model.buildSummaryModel has cyclomatic complexity 116 (threshold 15). Of this number, 96 points are the body\u0027s own statements and 20 belong to 10 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"202d91fac5e7c846a19ba790e38640fcabd1040f9f807303b494ebf4868de4ff"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-theater-model.buildTheaterStory (cyclomatic 108): run-report-theater-model.buildTheaterStory has cyclomatic complexity 108 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 67 belong to 8 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed1f5702f46ea52d31a1e88c2f96e14ebdf72c6adb109ec3dacccca6d7a429e"}},{"ruleId":"D1","level":"warning","message":{"text":"record.ProposalCard (cyclomatic 104): record.ProposalCard has cyclomatic complexity 104 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 62 belong to 20 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5085032ab4e10d54709c6cbc3428fecdaecbb128e155b5058d417e4723aa8cd"}},{"ruleId":"D1","level":"warning","message":{"text":"runconfig.RunConfigDialog (cyclomatic 103): runconfig.RunConfigDialog has cyclomatic complexity 103 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (runconfig.RunConfigDialog::run) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b8bd7f88fffbf5a13d612742eaedd3c47d7bdd6b2129870495c793de2f3e90"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-shell.RUN_REPORT_SHELL (cyclomatic 103): run-report-shell.RUN_REPORT_SHELL has cyclomatic complexity 103 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 84 belong to 33 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"de56bce986259ab07491edaa5ebca109434dc0d118411fbfa47bd5aa82459d20"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER (cyclomatic 98): run-report-viewer.RUN_REPORT_VIEWER has cyclomatic complexity 98 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, run-report-viewer.RUN_REPORT_VIEWER::readRoute, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c827a951a2014e2b777244753a8a5d7d6ad680aae6e188a8bba48823b06ee85b"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.ToolsScreen (cyclomatic 92): tools.ToolsScreen has cyclomatic complexity 92 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 56 belong to 19 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e575622c160f787262ccad92625cbfc323146cfac3a4f5d35ddc04681df58a8"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-theater.mountTheater (cyclomatic 92): run-report-theater.mountTheater has cyclomatic complexity 92 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 54 belong to 11 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b33e10e1ece4d9ad98b2eae2ae3db63af7448b9675b6a16d10af2ba3c208a45"}},{"ruleId":"D1","level":"warning","message":{"text":"editor.TrailYamlEditor (cyclomatic 90): editor.TrailYamlEditor has cyclomatic complexity 90 (threshold 15). Of this number, 59 points are the body\u0027s own statements and 31 belong to 14 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"17183891a77d06fd9c3bf5013ba8e28e11b019ad84f7d78f821fbad7fc3023c4"}},{"ruleId":"D1","level":"warning","message":{"text":"shell.App (cyclomatic 90): shell.App has cyclomatic complexity 90 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 63 belong to 14 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55af6680afe85418d44189727b43149f9b04caa239e4ae3d7a051fa1363dec8"}},{"ruleId":"D1","level":"warning","message":{"text":"record.TrailheadStep (cyclomatic 80): record.TrailheadStep has cyclomatic complexity 80 (threshold 15). Of this number, 67 points are the body\u0027s own statements and 13 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"8951e743f78cd557f17f8e84e805b16cefd3c6164d75a86ab61262bda74d24f7"}},{"ruleId":"D1","level":"warning","message":{"text":"steps-board.ToolCallsPopover (cyclomatic 78): steps-board.ToolCallsPopover has cyclomatic complexity 78 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 45 belong to 16 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd9e521c26816e3c146b5b22245355fe2f8059828d5bea0e072af297d150231"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderTimeline (cyclomatic 78): run-report-viewer.RUN_REPORT_VIEWER::renderTimeline has cyclomatic complexity 78 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3622}}}],"partialFingerprints":{"codehealthFindingId/v1":"538fdeb1147636e52b0973ca2afc20d2a4731fddc50bd0751cacc8ec601cb877"}},{"ruleId":"D1","level":"warning","message":{"text":"trace-viewer.TraceViewer (cyclomatic 76): trace-viewer.TraceViewer has cyclomatic complexity 76 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 27 belong to 11 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"af12077ea0c65792cf155bc84e91c2aec5e5a580fa85e8f945ae3b4677d52bcd"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailCommand.runTrail (cyclomatic 75): TrailCommand.runTrail has cyclomatic complexity 75 (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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f55724ab0f7e908a4623407098b8863ee9fcedc5efc85cbda39e77d50bfeda"}},{"ruleId":"D1","level":"warning","message":{"text":"DesktopYamlRunner.runYaml (cyclomatic 75): DesktopYamlRunner.runYaml has cyclomatic complexity 75 (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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/yaml/DesktopYamlRunner.kt"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d137ef92035111abc89d2b2270c0788ebf279eabe3e42a3049ce4cc5b04be3"}},{"ruleId":"D1","level":"warning","message":{"text":"demonstrate.DemonstrateFlow (cyclomatic 75): demonstrate.DemonstrateFlow has cyclomatic complexity 75 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 50 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2265b245d9e8d3edf5a99237c01da3842b4cb097ffcb2e1f9ed577ec13d0e847"}},{"ruleId":"D1","level":"warning","message":{"text":"devices.TargetDevicePicker (cyclomatic 69): devices.TargetDevicePicker has cyclomatic complexity 69 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 35 belong to 11 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33d75fd9b348137bc945c9162b6aad0cd7c1b37c1cdac651ebe3670a17b467c"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::applyRoute (cyclomatic 68): run-report-viewer.RUN_REPORT_VIEWER::applyRoute has cyclomatic complexity 68 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b7ece5d892ec7c05ee358607822f492537a977b83be6cbbf08fa8ce3ff9d69"}},{"ruleId":"D1","level":"warning","message":{"text":"demonstrate.DemoGeneratePhase (cyclomatic 67): demonstrate.DemoGeneratePhase has cyclomatic complexity 67 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 24 belong to 10 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a7351146af0a286bca08ae93c0493846bf2a88e15e86429a27f77dda7b370b"}},{"ruleId":"D1","level":"warning","message":{"text":"device-console.DeviceConsoleCard (cyclomatic 66): device-console.DeviceConsoleCard has cyclomatic complexity 66 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 28 belong to 13 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e61c3d53a05ecd7c82aab656e40623cc4e586881935b5fa1a1caea661c1d10"}},{"ruleId":"D1","level":"warning","message":{"text":"device-console.ToolComposer (cyclomatic 66): device-console.ToolComposer has cyclomatic complexity 66 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 16 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e56d7153a929647aa2c1cd15ea9eec6fe04ce3a0173bcc6cb3929e8dc1bf23d"}},{"ruleId":"D1","level":"warning","message":{"text":"monaco-lsp.mountLsp (cyclomatic 65): monaco-lsp.mountLsp has cyclomatic complexity 65 (threshold 15). Most of this is not in the body itself: 3 of the 65 points are its own statements and the rest belongs to 20 function items inside it that branch (build, a function literal at line 579, a function literal at line 666, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ec6981410798e44e0b348118a9be415d6be7659b9e50bbe7d1aae8588694d2"}},{"ruleId":"D1","level":"warning","message":{"text":"device-console.DeviceConsoleScreen (cyclomatic 65): device-console.DeviceConsoleScreen has cyclomatic complexity 65 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 47 belong to 21 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90213257a394b95cc0b59f71fb43eac7d47217e7169a3448e9686bc7133fe28"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-clip-player.adopt (cyclomatic 65): run-report-clip-player.adopt has cyclomatic complexity 65 (threshold 15). Most of this is not in the body itself: 2 of the 65 points are its own statements and the rest belongs to 20 function literals inside it that branch (lines 345, 435, 390, \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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cb60ea9ef033e37ceda16f60f7c39e5c0d11ee387f9b8f085a9e064989dc17"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderCompareView (cyclomatic 65): run-report-viewer.RUN_REPORT_VIEWER::renderCompareView has cyclomatic complexity 65 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7482}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba0c112ce489fa3e19659ad3e52d432b712e9107b6609ce63b9e0efe768ee4d"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-shell.analysisProblem (cyclomatic 64): run-report-shell.analysisProblem has cyclomatic complexity 64 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 20 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b0adf132ac1dcde3ca55da62b8e28b77319a774bf150097549357fa599c6a6"}},{"ruleId":"D1","level":"warning","message":{"text":"trailmaps.ComponentTypeScreen (cyclomatic 63): trailmaps.ComponentTypeScreen has cyclomatic complexity 63 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 34 belong to 12 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a47286382d1227a35a3e324052adaae41252bc3b0d66747263bad5744ff871"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-strings.stringsTabHtml (cyclomatic 63): run-report-strings.stringsTabHtml has cyclomatic complexity 63 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 28 belong to 16 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-strings.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72785ca2d9a5029b0bc744466e0a86d2f34ce2c18e7a34afc516dcf7d8df155"}},{"ruleId":"D1","level":"warning","message":{"text":"MaestroYamlSerializer.toPrimitive (cyclomatic 62): MaestroYamlSerializer.toPrimitive has cyclomatic complexity 62 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/maestro/MaestroYamlSerializer.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0db3d3ff0e898fb2a248baf3ee43aaf8715e1f8d9d6a678f0935c13fa0b3c0"}},{"ruleId":"D1","level":"warning","message":{"text":"waypoint-graph-template.html.App (cyclomatic 62): waypoint-graph-template.html.App has cyclomatic complexity 62 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 30 belong to 14 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d4118de97251f8c122d75ad605709ddc904d54b77bc609b7f3af41d6c558d5"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.AgentComposer (cyclomatic 61): external-agents.AgentComposer has cyclomatic complexity 61 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (external-agents.AgentComposer::send) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04a45910395c964199cf2c476edd790ab1356d16afa08fa2a05651ac0526384"}},{"ruleId":"D1","level":"warning","message":{"text":"ui.SearchableText (cyclomatic 61): ui.SearchableText has cyclomatic complexity 61 (threshold 15). Most of this is not in the body itself: 11 of the 61 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 582, a function literal at line 627, a function literal at line 573, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d210f9062cf129cb67408ca9dd0efdae39701d87d1c23eb660a8ead09a447b2"}},{"ruleId":"D1","level":"warning","message":{"text":"editor.CodeEditor (cyclomatic 60): editor.CodeEditor has cyclomatic complexity 60 (threshold 15). Most of this is not in the body itself: 5 of the 60 points are its own statements and the rest belongs to 19 function literals inside it that branch (lines 152, 27, 43, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09aa0878a6bb78e7cd86ff350eed2cfde4072272cb262bdc33681cbc0088b59"}},{"ruleId":"D1","level":"warning","message":{"text":"IosCompactElementList.buildRecursive (cyclomatic 59): IosCompactElementList.buildRecursive has cyclomatic complexity 59 (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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/IosCompactElementList.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f517c363c1f4b27605ee733b455d17c836d0e7b01cf590a96419ffe92fd974"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionSummary.fromLogs (cyclomatic 59): SessionSummary.fromLogs has cyclomatic complexity 59 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/models/SessionSummary.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53f267bac3e7511f8516d37961d5f028f6fcee255217c41247bf2f3368071e2"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.SettingsScreen (cyclomatic 59): settings.SettingsScreen has cyclomatic complexity 59 (threshold 15). Most of this is not in the body itself: 12 of the 59 points are its own statements and the rest belongs to 12 function items inside it that branch (WorkspaceBody, pickDir, PortSetting, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c94dea988f38d4f73210d99cd25af652cf8bd48f515ec7e37796451a08eb55"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-extract.slimTraceForShare (cyclomatic 59): run-report-extract.slimTraceForShare has cyclomatic complexity 59 (threshold 15). Most of this is not in the body itself: 2 of the 59 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1640, 1681, 1650, \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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"107e45b6499a56eb777a067d9a101bd0964108e900087519f9f6576465554a24"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::routeParams (cyclomatic 59): run-report-viewer.RUN_REPORT_VIEWER::routeParams has cyclomatic complexity 59 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5527bd2684684487dc0073189047885462c1266a9e4a300ab87a33eaa86dd7"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-extract.decisionLlmRow (cyclomatic 58): run-report-extract.decisionLlmRow has cyclomatic complexity 58 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 29 belong to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d1ae4030a07ae8df0cb1da87cc0fd22153489d949e75399ca5711db2bdb57a"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::stepRowHtml (cyclomatic 58): run-report-viewer.RUN_REPORT_VIEWER::stepRowHtml has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3547}}}],"partialFingerprints":{"codehealthFindingId/v1":"b805b649936afc1aa23693550c8ce1d1e3cdbfbe87b85af0eb523c4d722d11dd"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::wire (cyclomatic 58): run-report-viewer.RUN_REPORT_VIEWER::wire has cyclomatic complexity 58 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":10132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6781a72935572e91ac3daadddf4a2b32a0f6c80a70466b04fef746e77ebd8601"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.AgentToolCard (cyclomatic 57): external-agents.AgentToolCard has cyclomatic complexity 57 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c4369e52a9805d38847f652ec8c4e68f449923f2c8be311fa9c855cd9f4552"}},{"ruleId":"D1","level":"warning","message":{"text":"zip-report-core.buildRunMeta (cyclomatic 56): zip-report-core.buildRunMeta has cyclomatic complexity 56 (threshold 15). Of this number, 54 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84868797b1eebe339493fc2539fa360d2ba0b291c046945e138a1712463484a"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeRecordingGeneratorKt.generateRecordedTrailItems (cyclomatic 54): TrailblazeRecordingGeneratorKt.generateRecordedTrailItems has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailblazeRecordingGenerator.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e86cf03539ac6a22c6d9a174c733808da321a1cb66312f6968ec2dc981318e"}},{"ruleId":"D1","level":"warning","message":{"text":"cli-main.runSurveyCli (cyclomatic 54): cli-main.runSurveyCli has cyclomatic complexity 54 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/cli-main.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23e619df600f3e6a7c647fb2a9c459e6275bc382b958c0031574d9215d525f9"}},{"ruleId":"D1","level":"warning","message":{"text":"shell.NavRail (cyclomatic 54): shell.NavRail has cyclomatic complexity 54 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 20 belong to 12 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0982046fdecd4b409f0f222f833ecc4134251c0646e566bdcea7f8d5038840"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::onKeydown (cyclomatic 54): run-report-viewer.RUN_REPORT_VIEWER::onKeydown has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11041}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac4427edbd792b937c0cdd3502b3af4071adc83bac4f27a43fae22d05aaf5df"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-strings.buildStringsModel (cyclomatic 53): run-report-strings.buildStringsModel has cyclomatic complexity 53 (threshold 15). Most of this is not in the body itself: 10 of the 53 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 139, a function literal at line 195, shotFor, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-strings.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dec75abf0f1decfd0a10feaad687120fc3e241f0520e259fb0e626f195a0c69"}},{"ruleId":"D1","level":"warning","message":{"text":"StepToolSet.step (cyclomatic 52): StepToolSet.step has cyclomatic complexity 52 (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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"170ee12c42cfc0c18723c16b43c2cef45c4f34057af645248fc856eeee48bf36"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalAgentRoutesKt.externalAgentRoutes (cyclomatic 51): ExternalAgentRoutesKt.externalAgentRoutes has cyclomatic complexity 51 (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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExternalAgentRoutes.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adf304d1f021e106aafc11f5271a47b780c5aca0bf70eafc1f6d18d14a8a772"}},{"ruleId":"D1","level":"warning","message":{"text":"steps-board.RecordConfigDialog (cyclomatic 51): steps-board.RecordConfigDialog has cyclomatic complexity 51 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 21 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"014070dd9991b3e3a53196b3a9826dbbf64dc97cea65401a7095068a9fd85641"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-clip-player.parseWebm (cyclomatic 51): run-report-clip-player.parseWebm has cyclomatic complexity 51 (threshold 15). Most of this is not in the body itself: 15 of the 51 points are its own statements and the rest belongs to 11 function items inside it that branch (walk, a function literal at line 116, readBlock, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcae95dad67341c953942b3ec04fca20f94b9b9381e6063c2c2f7185f6aad9d"}},{"ruleId":"D1","level":"warning","message":{"text":"companion.CompanionScreen (cyclomatic 50): companion.CompanionScreen has cyclomatic complexity 50 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 21 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b860563c04c7ab0ce9ed434af513b4ebe7b20eb0203413087018924dd9458f4"}},{"ruleId":"D1","level":"warning","message":{"text":"record.ProposalToolRow (cyclomatic 50): record.ProposalToolRow has cyclomatic complexity 50 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 25 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9ba6e5f9c1fa1dfedb7fb8ba58b596064ef1a7a36f07247da8e89cb1eeeff3"}},{"ruleId":"D1","level":"warning","message":{"text":"perf-extract.nestAndAccount (cyclomatic 50): perf-extract.nestAndAccount has cyclomatic complexity 50 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 20 belong to 10 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e0c30d08599e7ffed115d717fba361cdb1183ab6877e7fc64a534bb7b59eb0"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::txCallContext (cyclomatic 49): run-report-viewer.RUN_REPORT_VIEWER::txCallContext has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3902}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d219dff8eb6ddae7858732659fb6f390c1324f81d0be8282372e372f9030b9"}},{"ruleId":"D1","level":"warning","message":{"text":"stream-write.writeDerivedStreams (cyclomatic 48): stream-write.writeDerivedStreams has cyclomatic complexity 48 (threshold 15). Most of this is not in the body itself: 11 of the 48 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 145, 149, 152, \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":"sdks/typescript/src/surveys/stream-write.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98e7557bcb6717b66c9d2b41aa94f6eb20a1d1b00d5aa0ede6f34931fb45d17"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-extract.extractLlmLogs (cyclomatic 48): run-report-extract.extractLlmLogs has cyclomatic complexity 48 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 15 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fc14ff1766cad3d17398f62b2ca0ad1b1044de4d31a220dec6ba8eeb4c787d"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-perfetto.buildPerfettoTrace (cyclomatic 48): run-report-perfetto.buildPerfettoTrace has cyclomatic complexity 48 (threshold 15). Most of this is not in the body itself: 1 of the 48 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 239, 325, 296, \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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-perfetto.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"742f3636a4c9d39193880506d4896e80f123c7e2766cd9481de3c41b7c40ec73"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidVectorIconRasterizer.parseSvgPath (cyclomatic 47): AndroidVectorIconRasterizer.parseSvgPath has cyclomatic complexity 47 (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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/AndroidVectorIconRasterizer.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"db27c8863654e5bf8248447534990d1b3464789958e05d9688ad83e86b5b9289"}},{"ruleId":"D1","level":"warning","message":{"text":"record.StepCard (cyclomatic 47): record.StepCard has cyclomatic complexity 47 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 10 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7b64447dcea7299e98849848b7fb1369df572094d2caf6d6a9fb2ced4b8ed1"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-tree.TrailTree::onTreeKeyDown (cyclomatic 47): trail-tree.TrailTree::onTreeKeyDown has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (trail-tree.TrailTree) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ee58e76d370b918b1d0dd1db2885b0c20bbd841fc91f2c2940268cf9a1c1b2"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidCompactElementList.buildRecursive (cyclomatic 46): AndroidCompactElementList.buildRecursive has cyclomatic complexity 46 (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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"c184477ec9596b916b75736f5dd90658ffb0de99af3d77e515bf53911e9a1055"}},{"ruleId":"D1","level":"warning","message":{"text":"shell.WorkspaceChip (cyclomatic 46): shell.WorkspaceChip has cyclomatic complexity 46 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 12 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe8eeabc3f484486b957512be51413e2cd95cbd99abf369f549590ca7e6fb69"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::applyDetailRoute (cyclomatic 46): run-report-viewer.RUN_REPORT_VIEWER::applyDetailRoute has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdac84a4be07f5e686286c1d0fe6e68f4cf3df8a6c7d73eba8e1abe75baf75e8"}},{"ruleId":"D1","level":"warning","message":{"text":"runconfig.RunConfigDialog::run (cyclomatic 45): runconfig.RunConfigDialog::run has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (runconfig.RunConfigDialog) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8d3241b285ea9a95f6e71fd31e22870e5bb65605194bfabffce9d40dcc3261"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-tree.TrailTree (cyclomatic 44): trail-tree.TrailTree has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (trail-tree.TrailTree::onTreeKeyDown) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"38320bba174aad5bc1f8fab2161cd52045d8727f0c65611a2c037f02074ed052"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary.mountSummary (cyclomatic 44): run-report-summary.mountSummary has cyclomatic complexity 44 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 10 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80c7fd2d2ab1a58b93dee943c139fd75d598cf398a3a17203acbc7a03b1ff55"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::wireTrailReplay::paintLane (cyclomatic 44): run-report-viewer.RUN_REPORT_VIEWER::wireTrailReplay::paintLane has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":6723}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3f1a3a9038e39aa1221d1c3662a95bb2d912c90d2bdde051ac25d8f970a29c"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.AgentTranscriptItem (cyclomatic 43): external-agents.AgentTranscriptItem has cyclomatic complexity 43 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"4835617c665921d44db07f742df24c4002f0d3504264cead2a0cf427c5d29028"}},{"ruleId":"D1","level":"warning","message":{"text":"record.selectorMeta (cyclomatic 42): record.selectorMeta has cyclomatic complexity 42 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4caf98296b4bf761ae19566184aca26c64a77f317d77bd2c57d6904fc289eb"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::readRoute (cyclomatic 42): run-report-viewer.RUN_REPORT_VIEWER::readRoute has cyclomatic complexity 42 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1836}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08f1e0546b0961ca5457d5b2b15fc40d96e7e9eb215292acd18f8d9e41d7bd3"}},{"ruleId":"D1","level":"warning","message":{"text":"DeviceManagerToolSet.device (cyclomatic 41): DeviceManagerToolSet.device has cyclomatic complexity 41 (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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8426f2160075aa695579c2efe23cc43b8a71e4f8603fbac554dea636c83bbc"}},{"ruleId":"D1","level":"warning","message":{"text":"runconfig-steps.RunStepsPane (cyclomatic 41): runconfig-steps.RunStepsPane has cyclomatic complexity 41 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe94c5fa8640e41a338150a69e26425106a74eeb07000a0d6da256a9461804be"}},{"ruleId":"D1","level":"warning","message":{"text":"companion.CompanionGuidance (cyclomatic 41): companion.CompanionGuidance has cyclomatic complexity 41 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"19622d936b7dde650458e8753104e00534e67de2263a4c110365dafb2ca0b761"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-yaml.normalizeScratchTrailYaml (cyclomatic 41): trail-yaml.normalizeScratchTrailYaml has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (trail-yaml.normalizeScratchTrailYaml::legacyTrailheadToUnified, trail-yaml.normalizeScratchTrailYaml::fragmentToStep) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bc26a9e1f5378841c38bcffd6a8218afb598c3f832d92346187277cd76aa23"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-trail-replay.buildReplayMemorySeries (cyclomatic 41): run-report-trail-replay.buildReplayMemorySeries has cyclomatic complexity 41 (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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26c1895985c5197ea3566c7ceec7bd9e24325b81289d55d36b4cb4e666fd80f"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementRef.resolveInTree (cyclomatic 40): ElementRef.resolveInTree has cyclomatic complexity 40 (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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/ElementRefSlug.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3371e30877e40c2e3934c38096683efdd905a360236cbcec9f37db42b57848ef"}},{"ruleId":"D1","level":"warning","message":{"text":"blaze.BlazeScreen (cyclomatic 40): blaze.BlazeScreen has cyclomatic complexity 40 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (blaze.BlazeScreen::blaze) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d1997e54a209096c3ad3d5064ad82b26d0bd101fe414244c5456d188f3f76c"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-detail.UnifiedStepsBoard::renderRow (cyclomatic 40): trail-detail.UnifiedStepsBoard::renderRow has cyclomatic complexity 40 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (trail-detail.UnifiedStepsBoard) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae62e264b67c8c7f75c8fc70d391bb7c4c82c11933347d13be934b651cfc87f"}},{"ruleId":"D1","level":"warning","message":{"text":"perf-extract.buildRawSpans (cyclomatic 40): perf-extract.buildRawSpans has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 1 of the 40 points is its own statement and the rest belongs to one function literal inside it that branches (line 201). 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a2849a3553c765b537b3a9646419ec9ec03df8942fb619312be5b52580876c"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::wireTrailReplay (cyclomatic 40): run-report-viewer.RUN_REPORT_VIEWER::wireTrailReplay has cyclomatic complexity 40 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":6341}}}],"partialFingerprints":{"codehealthFindingId/v1":"90251fa1f4db7795be0076cd8f088701d3a6a5df9c81617c48ea94f4abd4a9a3"}},{"ruleId":"D1","level":"warning","message":{"text":"home.ReadinessPanel (cyclomatic 39): home.ReadinessPanel has cyclomatic complexity 39 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 6 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/home.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"552818a4510b3ad35e2458957c507d9b1bbb89a7973466d7b3d67576ebd1aa97"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-detail.StepsMode (cyclomatic 39): trail-detail.StepsMode has cyclomatic complexity 39 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 16 belong to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb01c3d7988357d66155c55cafe5b48690c0ebd60ad9f12aaf4e6c73d477538"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeNodeSelectorGeneratorHelpersKt.withTextOf (cyclomatic 38): TrailblazeNodeSelectorGeneratorHelpersKt.withTextOf has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"203344db7429654038bd5dd7115961fa420dea64233f1d487d7d77e133cabe05"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-extract.toolChildren (cyclomatic 38): run-report-extract.toolChildren has cyclomatic complexity 38 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (run-report-extract.toolChildren::spanCapture) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"df89bc85e8c40107b119bb16acab01f109c24b8aba7821f05a8c667981bc3989"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail (cyclomatic 38): run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail has cyclomatic complexity 38 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::readRoute, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"d274c5a483af1ace4ac3cef5786a48c6d46680d236800018bb372ddbb4474173"}},{"ruleId":"D1","level":"warning","message":{"text":"AxeDeviceManager.dispatch (cyclomatic 37): AxeDeviceManager.dispatch has cyclomatic complexity 37 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeDeviceManager.kt"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b1a674d6481ab19092bcef685f624e42e5022f3a4cfadf0a417b802a0043fc"}},{"ruleId":"D1","level":"warning","message":{"text":"phase.findSplit (cyclomatic 37): phase.findSplit has cyclomatic complexity 37 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 8 belong to 6 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":"sdks/typescript/src/surveys/phase.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0fc7f0d71bf2dac10a89a95208639f26f9d50ac4c9cb8ebf003a1ba53ad39b"}},{"ruleId":"D1","level":"warning","message":{"text":"editor.MonacoTrailEditor (cyclomatic 37): editor.MonacoTrailEditor has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 3 of the 37 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 526, 540, 507, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e7e41615f0a75de465c844bfd44ef1869f1837ca6ed1a1d6074400d2ee6121"}},{"ruleId":"D1","level":"warning","message":{"text":"run-payload.runMeta (cyclomatic 37): run-payload.runMeta has cyclomatic complexity 37 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c29010d354dbfe0c865d9a36745c9b94936da7e1a083c369881879140729b92"}},{"ruleId":"D1","level":"warning","message":{"text":"trailmaps.ComponentRunTab (cyclomatic 37): trailmaps.ComponentRunTab has cyclomatic complexity 37 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42f23e8c39a5121c0d6e0eaee7ee64990042a06b334c006e079e71aa67ce638"}},{"ruleId":"D1","level":"warning","message":{"text":"shell.TargetPicker (cyclomatic 37): shell.TargetPicker has cyclomatic complexity 37 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2b27cfc616948ebf609e5794d996476b837e3ba06260e794ca98e55607e571"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-extract.toSessionPayloads (cyclomatic 37): run-report-extract.toSessionPayloads has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 2 of the 37 points are its own statements and the rest belongs to one function literal inside it that branches (line 1874). 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d69983b76ce3ad70dc500a2e9818ab55e1016cb5c8bff2b92b8d9a46cfdd61f"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-trace-model.buildReportTraceModel (cyclomatic 37): run-report-trace-model.buildReportTraceModel has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 11 of the 37 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 150, 226). 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trace-model.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fa45d4797913c17a13982037db28113fc341b95f2a20c371a2821c5e3a89fe"}},{"ruleId":"D1","level":"warning","message":{"text":"ReportCommandKt.generateSessionReport (cyclomatic 36): ReportCommandKt.generateSessionReport has cyclomatic complexity 36 (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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ReportCommand.kt"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"194bf3cda4b8069cdc706bf2dad07a1344e6718b8c50ea8c207b9b495d07606e"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::playTimeline::paintAt (cyclomatic 36): run-report-viewer.RUN_REPORT_VIEWER::playTimeline::paintAt has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9945}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aaa4318509d1a643847e44642a9723f8baff3c17d9242928ab07141f370071b"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeAccessibilityService.awaitTreeStable (cyclomatic 35): TrailblazeAccessibilityService.awaitTreeStable has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c8366e250571402a147d0cd313678fb4a74a67822617c630119f98ab272799"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeRecordingGeneratorKt.selectDirectToolLogs (cyclomatic 35): TrailblazeRecordingGeneratorKt.selectDirectToolLogs has cyclomatic complexity 35 (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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailblazeRecordingGenerator.kt"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"00faa30958842524bc0a59032ce1f27b0f66417c810897c2c80bac7a4e6b3592"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedTrailAdapter.mergeRecordedClassifier (cyclomatic 35): UnifiedTrailAdapter.mergeRecordedClassifier has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailAdapter.kt"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc362cf5dcb1c4f008b27ef183a189f309b59a23d9ac6f4be51a27b5e00aad1"}},{"ruleId":"D1","level":"warning","message":{"text":"runner.runSurveys (cyclomatic 35): runner.runSurveys has cyclomatic complexity 35 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/runner.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"049e3aac124ce70d65ae786559aa6ae02892a9e365b42bb8c39868b1dee3b26f"}},{"ruleId":"D1","level":"warning","message":{"text":"devices.TargetCard (cyclomatic 35): devices.TargetCard has cyclomatic complexity 35 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ea6b37a69bb78cbc6494219f78839ed3496019ea6451708214456288cf2922"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.ExternalAgentChat (cyclomatic 35): external-agents.ExternalAgentChat has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (external-agents.ExternalAgentChat::proposeAtPoint) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5960616aac912fd5fc888178c76340302ca960f0f30f93ec268c3f61e742f170"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.ToolSourceEditor (cyclomatic 35): tools.ToolSourceEditor has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 14 of the 35 points are its own statements and the rest belongs to 3 function items inside it that branch (rebuildAndRestart, save, a function literal at line 240). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a863f0d55b1a7dfad96275823fca48776951f2a4cfd1e582e21fc9035cd376d"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::paintTimelinePane (cyclomatic 35): run-report-viewer.RUN_REPORT_VIEWER::paintTimelinePane has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9756}}}],"partialFingerprints":{"codehealthFindingId/v1":"774c02236ba5d14c08393edb40054ef70df9ff70dd9abbb1b9c74a3009504b32"}},{"ruleId":"D1","level":"warning","message":{"text":"zip-report-core.resolveRenderer (cyclomatic 35): zip-report-core.resolveRenderer has cyclomatic complexity 35 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f06a00ad0cd9fe2652647082e7d3ef5c7c25eb8e52ede75d03e127cf62ae76a"}},{"ruleId":"D1","level":"warning","message":{"text":"BlazeRoutesKt.blazeRoutes (cyclomatic 34): BlazeRoutesKt.blazeRoutes has cyclomatic complexity 34 (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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/BlazeRoutes.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"805b7394468c04b8cd9dc187480d705e4376da49df4376e721731bd312a6098a"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordRoutesKt.recordRoutes (cyclomatic 34): RecordRoutesKt.recordRoutes has cyclomatic complexity 34 (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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RecordRoutes.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eefe930e363342441616a9f89bbf13b31bff2fe83c19a33fc75906984dd253b"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeNodeSelectorGeneratorAndroidAccessibilityKt.androidAccessibilityStrategies (cyclomatic 34): TrailblazeNodeSelectorGeneratorAndroidAccessibilityKt.androidAccessibilityStrategies has cyclomatic complexity 34 (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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6c3c54110e62c91b7aff1f92f5d672838a9bbf8135d6a7de6aee0204779f03"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeNodeSelectorResolver.matchesAndroidAccessibilityAgainstCompose (cyclomatic 34): TrailblazeNodeSelectorResolver.matchesAndroidAccessibilityAgainstCompose has cyclomatic complexity 34 (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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fbd16749ed66a8af3ed596bf4b6e04b16cc87d008c6a93ecf25612ff976b06"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeMcpBridgeImpl.selectDevice (cyclomatic 33): TrailblazeMcpBridgeImpl.selectDevice has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b6620e93818927ab684342b5789c3d2dae06cbe84b99ddce74a175462cd7e9"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionRoutesKt.sessionRoutes (cyclomatic 33): SessionRoutesKt.sessionRoutes has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"9207d75859ea5b8df6bb52e34be930809a8ebfb39d1fa88fce75866d9db75cae"}},{"ruleId":"D1","level":"warning","message":{"text":"data-core.applyTrailRunnerUiCommand (cyclomatic 33): data-core.applyTrailRunnerUiCommand has cyclomatic complexity 33 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 7 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb654f178ac83fb1064979694bd2deae998f79fd9e2995bd14234999c1050102"}},{"ruleId":"D1","level":"warning","message":{"text":"run-payload.resolve (cyclomatic 33): run-payload.resolve has cyclomatic complexity 33 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b656ce98dc8fc64e9a9c4ad51c49dce0a2c5f326a2ea85408dc169468946665"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.ExternalAgentsScreen (cyclomatic 33): external-agents.ExternalAgentsScreen has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 15 of the 33 points are its own statements and the rest belongs to 6 function items inside it that branch (stop, a function literal at line 177, a function literal at line 195, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"889665f168125a3ddca95a185c5ac8192de0611fdc3cda52ceafb8615a1eea4a"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.buildAgentTranscript (cyclomatic 33): external-agents.buildAgentTranscript has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 7 of the 33 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1787, 1852, 1851). 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b4f7eb5cc5e2db996c551392f7519285675356aedae956eb7fc3a753aa6e27"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.ToolUsedBy (cyclomatic 33): tools.ToolUsedBy has cyclomatic complexity 33 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 17 belong to 6 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1481fe4138635f92b0437e0f40667fda0c94cc8b1dbc97c0990b7cb9cec296"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-extract.mergeWebHierarchyBounds (cyclomatic 33): run-report-extract.mergeWebHierarchyBounds has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 10 of the 33 points are its own statements and the rest belongs to 5 function items inside it that branch (compatible, legacyRect, graft, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f61312b6bb8427425dbc6bd4aed4ddcc4e8c3fdd24d757c2dff20465c48473"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary-model.buildDiagnosis (cyclomatic 33): run-report-summary-model.buildDiagnosis has cyclomatic complexity 33 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 14 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d5af4ccb67b5f4534db31619024002ee01351d0f84586818ba9c92b1612202"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderFailureSummary (cyclomatic 33): run-report-viewer.RUN_REPORT_VIEWER::renderFailureSummary has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2525}}}],"partialFingerprints":{"codehealthFindingId/v1":"c085b68a8a00d24766d99c20d393b767eae3ea104689801c116b9ef2acef05fb"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionEventsHostFunctions.query (cyclomatic 32): SessionEventsHostFunctions.query has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/events/SessionEventsHostFunctions.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"779f9c364a35a17d3258258846f0162d11d81c84afb21f85c246478dbfe8e600"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeNodeSelectorGeneratorEnumerationKt.matchTier (cyclomatic 32): TrailblazeNodeSelectorGeneratorEnumerationKt.matchTier has cyclomatic complexity 32 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorEnumeration.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"754dfb0f9821c4ac0658c1ef44fea8d300ba4666213a85064aae193ed04a04df"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeNodeSelectorGeneratorHelpersKt.buildTargetMatch (cyclomatic 32): TrailblazeNodeSelectorGeneratorHelpersKt.buildTargetMatch has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60bdd58f90db3b230f910a449c6d9acb56ce98f38bbc7c25175adc8c0232dc6"}},{"ruleId":"D1","level":"warning","message":{"text":"IosViewHierarchyFilter.findVisibleViewHierarchyTreeNodes (cyclomatic 32): IosViewHierarchyFilter.findVisibleViewHierarchyTreeNodes has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/IosViewHierarchyFilter.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8502895b4abc6a44db7fd47347ee82e59131bf218f6b5ac0003d2dd363158d"}},{"ruleId":"D1","level":"warning","message":{"text":"demonstrate.useTrailheadPicker (cyclomatic 32): demonstrate.useTrailheadPicker has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 10 of the 32 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 53, 39, 58, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7403001584a2dc2c21ae98b004c120e500ac008e0d9d3a4623ac84654dd99657"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.useAgentDeviceMirror (cyclomatic 32): external-agents.useAgentDeviceMirror has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 4 of the 32 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 2503, 2553, 2512, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2389}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ad6ea975dd52273daa293453b210273e0f582891f8f60f4be1ba6f28805439"}},{"ruleId":"D1","level":"warning","message":{"text":"shell.CommandPalette (cyclomatic 32): shell.CommandPalette has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 6 of the 32 points are its own statements and the rest belongs to 7 function items inside it that branch (section, a function literal at line 566, onKeyDown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa5d91252661c4c56a18d9271472efd66dce738e80cb5b184871ce8b2a5c748"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary-model.screenTexts (cyclomatic 32): run-report-summary-model.screenTexts has cyclomatic complexity 32 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfd1f6243b6b85a89195eb1ab0aa04c14edfe0761e8cb3d7ca8d9dda32da9ce"}},{"ruleId":"D1","level":"warning","message":{"text":"NextMoveDecisionLlmClient.treePath (cyclomatic 31): NextMoveDecisionLlmClient.treePath has cyclomatic complexity 31 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/decision/NextMoveDecisionLlmClient.kt"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0efd49047d08f84829bf92a6cfdaf597844a8200bc1c1cb6b219fb39ae010d2"}},{"ruleId":"D1","level":"warning","message":{"text":"device-activity-model.fold (cyclomatic 31): device-activity-model.fold has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 7 of the 31 points are its own statements and the rest belongs to one function literal inside it that branches (line 107). 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-activity-model.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6fa69a2eeaca756ae3a712b0cdaac799f2f5423c5668d5857b73d18d10ad44"}},{"ruleId":"D1","level":"warning","message":{"text":"perf-extract.extractPerfSession (cyclomatic 31): perf-extract.extractPerfSession has cyclomatic complexity 31 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 8 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aee2e2cb28d97a962f9536d12a022674b4994ecb8adba7e9b96cc02c5642db"}},{"ruleId":"D1","level":"warning","message":{"text":"IosSetPermissionsTrailblazeTool.execute (cyclomatic 30): IosSetPermissionsTrailblazeTool.execute has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/ios/tools/IosSetPermissionsTrailblazeTool.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"494c763b564c39205167a6b55de7fca0fdf939551eb5738201ed5e3bd1bbf723"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionStartCommand.startSession (cyclomatic 30): SessionStartCommand.startSession has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8b40769f0fc5e3bbc7d535cbea45d2d9d489968aafe0898ce3a4a6e6e375f9"}},{"ruleId":"D1","level":"warning","message":{"text":"tool.registerPendingTools (cyclomatic 30): tool.registerPendingTools has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 5 of the 30 points are its own statements and the rest belongs to one function literal inside it that branches (line 525). 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":"sdks/typescript/src/tool.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94710804bbb9abeea414111879a7c4696fdaa171259dbbdc548860495c51b59"}},{"ruleId":"D1","level":"warning","message":{"text":"phase.phaseOf (cyclomatic 30): phase.phaseOf has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/phase.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a384bbede6347b8d84005baa0dd5322fa525fd3820aebc3fd72a23c5022d98"}},{"ruleId":"D1","level":"warning","message":{"text":"data-extract.buildTrailTree (cyclomatic 30): data-extract.buildTrailTree has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 8 of the 30 points are its own statements and the rest belongs to 8 function items inside it that branch (trailRow, ensureNode, renderEntry, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-extract.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a34198077bdaf4b67f2e7c843b2636a71a4a2f19ae273c5c15d18c6547f121"}},{"ruleId":"D1","level":"warning","message":{"text":"companion.CompanionReplies (cyclomatic 30): companion.CompanionReplies has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 12 of the 30 points are its own statements and the rest belongs to 7 function items inside it that branch (post, a function literal at line 328, flash, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db380505d442d2926a8298cdb4911b2e8c4bf30e9faee6a5936c5e4a185aed2"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.AgentSkillsPanel (cyclomatic 30): external-agents.AgentSkillsPanel has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 13 of the 30 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 1473, 1484, 1532, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf7ca5c61ec880ad09848f926482ae4c4e748d201aa43e005332925eca161ad"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.AgentEventLogRow (cyclomatic 30): external-agents.AgentEventLogRow has cyclomatic complexity 30 (threshold 15). Of this number, 29 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2706}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa60594ba5ab81a680b143e17a97c60fa11c6ce8b9342d150d3fae42ae0e7e0"}},{"ruleId":"D1","level":"warning","message":{"text":"home.ExternalAgentPromptPanel (cyclomatic 30): home.ExternalAgentPromptPanel has cyclomatic complexity 30 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/home.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"318522a7c59692463974122e0300e78a8a110002932f64c85f174c40577491b1"}},{"ruleId":"D1","level":"warning","message":{"text":"record.ElementsPanel (cyclomatic 30): record.ElementsPanel has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 9 of the 30 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 2494, 2504, 2503). 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2474}}}],"partialFingerprints":{"codehealthFindingId/v1":"63689d02d48087206af25d643adac01add7976eb2294d0b11ed0e2bbeb37aa13"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-theater.mountTheater.place (cyclomatic 30): run-report-theater.mountTheater.place has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"755af8bfca6a23eb2c3815cdd2958739a698adc8a5b11312a945ba8323c7340c"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeHostYamlRunner.runHostAgentWithOnDeviceRpc (cyclomatic 29): TrailblazeHostYamlRunner.runHostAgentWithOnDeviceRpc has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c6761c3e6bbf92700e6445d5017d367252481b1c13085baea406b1733ac4b0"}},{"ruleId":"D1","level":"warning","message":{"text":"data-extract.buildTrailBundleRows (cyclomatic 29): data-extract.buildTrailBundleRows has cyclomatic complexity 29 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-extract.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e9b53a328ba96a97c8ab676696a16271358ba221a57862c9f909029c8335c0"}},{"ruleId":"D1","level":"warning","message":{"text":"record.RecordScreen::propose (cyclomatic 29): record.RecordScreen::propose has cyclomatic complexity 29 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 2 other methods here (record.RecordScreen, record.RecordScreen::runAdhocYaml) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0365c857d1c71d83325203777e3710c07fd47a41dedf7e54132d1bd219587c9"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-yaml.runnableSteps (cyclomatic 29): trail-yaml.runnableSteps has cyclomatic complexity 29 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 10 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77552b9fea706a8dcfd83e4329081e96e0f29148d3cab3b61689612f129ce8e"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::scrubberHtml (cyclomatic 29): run-report-viewer.RUN_REPORT_VIEWER::scrubberHtml has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3379}}}],"partialFingerprints":{"codehealthFindingId/v1":"db577e0a119a5df3a7785ba60729594223a437a6a2de6ca9ebeeee658ae6b267"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::compareStepAnchors (cyclomatic 29): run-report-viewer.RUN_REPORT_VIEWER::compareStepAnchors has cyclomatic complexity 29 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7389}}}],"partialFingerprints":{"codehealthFindingId/v1":"565db20ae5ab09daf10b20ded0fdee02a9b039cdfe14b3ae3d20e1c1fce07f3a"}},{"ruleId":"D1","level":"warning","message":{"text":"CrashEventArtifactWriter.detect (cyclomatic 28): CrashEventArtifactWriter.detect has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/logcat/CrashEventArtifactWriter.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb9ddc6b5de71fb1c975bdc480708457fdae74528ac15310b2f5e7be1651c05"}},{"ruleId":"D1","level":"warning","message":{"text":"resolver.matchesAndroidAccessibility (cyclomatic 28): resolver.matchesAndroidAccessibility has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e2798024412dcef9171c84d961404b19dce701cb0346aae7ee6831d715a2ae"}},{"ruleId":"D1","level":"warning","message":{"text":"waypoint-graph-template.html.MapView (cyclomatic 28): waypoint-graph-template.html.MapView has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 1712, 1628, 1644, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec06f597b1c01e9a0cb492d47f5712323bb4833880bbcb393a3d96b5cc8b6e2"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.AgentTrailRail (cyclomatic 28): external-agents.AgentTrailRail has cyclomatic complexity 28 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"082031d0e4a65f0ca8967b085037749a312a6266219956ef5c7a3d4d38a1f403"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.groupPlumbingRuns (cyclomatic 28): external-agents.groupPlumbingRuns has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 6 function items inside it that branch (failSig, a function literal at line 1932, pinned, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1907}}}],"partialFingerprints":{"codehealthFindingId/v1":"97350589f8632038f04fc492dcaa3d2b88ae54097aec31f598e6c57558d968a8"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-detail.parseTrailSteps (cyclomatic 28): trail-detail.parseTrailSteps has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 13 of the 28 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 81, mapTools). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4bd9f0b74ff93655ee490ef422625b5a324e8b7a3b0e6eebd7dd9c78f2428b"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-model.withSourceLabels (cyclomatic 28): trail-model.withSourceLabels has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 10 of the 28 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 433, 424, 429). 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-model.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e9f54f3631637fb25c3cabd2c9197f00c8c16877eebb0f06bfc511e58701d4"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-yaml.applyRecordingEdit (cyclomatic 28): trail-yaml.applyRecordingEdit has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"d156bddef3e2256ea78b464cf25b712d16a8e3e6f010ac9d4069e8330fa2566e"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-payload.normalizeEventPayload (cyclomatic 28): run-report-payload.normalizeEventPayload has cyclomatic complexity 28 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a1488bd13ff3ef1940cfd677f4ee77059f1cc07cfc168e090fdc54e6986f41"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-visible-strings.extractVisibleStrings (cyclomatic 28): run-report-visible-strings.extractVisibleStrings has cyclomatic complexity 28 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-visible-strings.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b232837f93b9f05d627a801fcdc60d7c2401ce9fd8c6772406542b66707aab1"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-theater.mountTheater.updateRail (cyclomatic 28): run-report-theater.mountTheater.updateRail has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 5 of the 28 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 742, 763, 753, \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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfe4e7e2161d9721b5c01136972ed72721db665115c54b1d268a9991921aa07"}},{"ruleId":"D1","level":"warning","message":{"text":"ReportCommand.call (cyclomatic 27): ReportCommand.call has cyclomatic complexity 27 (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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ReportCommand.kt"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8dee42c7e90a5be87864c9c446d169ae945f0b7dc911b2f4e75d34007118e6"}},{"ruleId":"D1","level":"warning","message":{"text":"McpProgressNotifier.mapLogToNotification (cyclomatic 27): McpProgressNotifier.mapLogToNotification has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/utils/McpProgressNotifier.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"37094029c23239e4130cd2464137c4cd3d19ff4615d15db71f09810376fbec72"}},{"ruleId":"D1","level":"warning","message":{"text":"editor.insertToolIntoTrailYaml (cyclomatic 27): editor.insertToolIntoTrailYaml has cyclomatic complexity 27 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3b07a8f2a6880634bacfb3ad7c403f0f7b9b55cbb4caae8a83aac3a0438c2a"}},{"ruleId":"D1","level":"warning","message":{"text":"runcommand.buildRunCommand (cyclomatic 27): runcommand.buildRunCommand has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runcommand.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cd2fff34a31f10120effc5eb15f3feb68ebede16a2813fc5f1567de1d9c0b6"}},{"ruleId":"D1","level":"warning","message":{"text":"demonstrate.DemoLiveTrailRail (cyclomatic 27): demonstrate.DemoLiveTrailRail has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 693, 717, 690, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cbfa370972ca27c5651e4e1d3f68f4b9b76a2c0610bef61e4c63447a6dcd0a"}},{"ruleId":"D1","level":"warning","message":{"text":"demonstrate.DemoVerifiedPanel (cyclomatic 27): demonstrate.DemoVerifiedPanel has cyclomatic complexity 27 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae2249fbaa62bfd162be06c80565ddb7947fe5b4da736ae6be0c047f539293e"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.Collapsible (cyclomatic 27): external-agents.Collapsible has cyclomatic complexity 27 (threshold 15). Of this number, 25 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1124f1ac0cb02944080e77e6a28e7c0f74458e4893cdd6067a41a10969a0c6e"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.AgentConversationColumn (cyclomatic 27): external-agents.AgentConversationColumn has cyclomatic complexity 27 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 11 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f59f8285b0d1b7551578a0f2c8ca932e44a7146b3020da0ccf8389097dbe017"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.AgentYamlPanel (cyclomatic 27): external-agents.AgentYamlPanel has cyclomatic complexity 27 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c6ce3c88e614c28ab3236bf270622b45ad977159cf9089453f079ee9eb549a"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-detail.LegacyStepsRunList (cyclomatic 27): trail-detail.LegacyStepsRunList has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 671, a function literal at line 645, run, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"61829a3eb650e60bd18eb86cecda85d3e25f58c21e42411b5b69560b1022223f"}},{"ruleId":"D1","level":"warning","message":{"text":"zip-report.ZipReportScreen (cyclomatic 27): zip-report.ZipReportScreen has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 11 of the 27 points are its own statements and the rest belongs to 7 function items inside it that branch (load, revokeObjectUrls, a function literal at line 30, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/zip-report.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"545e885654f12ccd8e1b5104fa8d6ea20e27932fb8f06bbbd3bff5de47e6cfa4"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-yaml.mergeBlazeYaml (cyclomatic 27): trail-yaml.mergeBlazeYaml has cyclomatic complexity 27 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef5fbfa73f580d6b7dd80e6e0c845fae482abced1c2bef2e8e382f8ad359535"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-extract.assignTraceDevices (cyclomatic 27): run-report-extract.assignTraceDevices has cyclomatic complexity 27 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"812acf20acae05782c679ea4f5ae1a7464dedccb8802a02a1d74e6c4a04d2bc1"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-extract.toolChildren::spanCapture (cyclomatic 27): run-report-extract.toolChildren::spanCapture has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (run-report-extract.toolChildren) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5ec35c19b77142997e4c3513f05db6b8e98c191ea6df69632924b80db0cdae"}},{"ruleId":"D1","level":"warning","message":{"text":"perf-extract.buildTraceSpans (cyclomatic 27): perf-extract.buildTraceSpans has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 1 of the 27 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 372, 388). 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f127e735a78589a34a2c18e07dbf1b43b7fce81eee2c3f00adb824537ed35a"}},{"ruleId":"D1","level":"warning","message":{"text":"unifiedDocToMatrix (cyclomatic 27): unifiedDocToMatrix has cyclomatic complexity 27 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 13 belong to 6 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-model.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d512568585be1854b1448f12c03e4f4a444bfe85933459c277c0a820cd0ce5"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedRecordingWriter.mergeIntoUnified (cyclomatic 26): UnifiedRecordingWriter.mergeIntoUnified 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recordings/UnifiedRecordingWriter.kt"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e676bb834f2e23b8b3630d190cb8ce423f2682f3959ababa9214d1ebe81167"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailCommand.delegateToDaemon (cyclomatic 26): TrailCommand.delegateToDaemon 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c50ec3f912cb740bada9a85cfef65b23cef2b8f756405484a4ee797d60a8284"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeNodeSelectorResolver.matchesAndroidAccessibility (cyclomatic 26): TrailblazeNodeSelectorResolver.matchesAndroidAccessibility has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (TrailblazeNodeSelectorResolver.matchesAndroidAccessibilityAgainstView) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3b47de86b53a6aafd720848d1ab65ae07f088beae977d19923f5b4f7fc3fb8"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeNodeSelectorResolver.matchesAndroidAccessibilityAgainstView (cyclomatic 26): TrailblazeNodeSelectorResolver.matchesAndroidAccessibilityAgainstView has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (TrailblazeNodeSelectorResolver.matchesAndroidAccessibility) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd57d1f6727bb0a853d7ddcf811249d8fda395db94252d821efc3b004afbf54"}},{"ruleId":"D1","level":"warning","message":{"text":"driver-node-detail.isInteractive (cyclomatic 26): driver-node-detail.isInteractive has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: driver-node-detail.hasIdentifiableProperties (cyclomatic 36) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/driver-node-detail.ts"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"d003be29e2c5656f70b6cc53395cf50f7efb61f9e6afae855298a0f27f73ff36"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.ExternalAgentChat::proposeAtPoint (cyclomatic 26): external-agents.ExternalAgentChat::proposeAtPoint 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. This shape REPEATS in the file: one other method here (external-agents.ExternalAgentChat) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c0b8f79db6653c023bd33de19891378bfda3779bdbf3080a4d9eb420e4e5fa"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.AgentTapeCard (cyclomatic 26): external-agents.AgentTapeCard has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2269}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c1120efed4d26bce5aa7570bf1ca1cd3594056b3e989f861a28582d433ac1e"}},{"ruleId":"D1","level":"warning","message":{"text":"share-export.ShareRunModal (cyclomatic 26): share-export.ShareRunModal has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 12 of the 26 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 53, fmtSize, a function literal at line 68, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/share-export.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f73e649abfad2125fb55fca680d40a2e8206616fb9ee3b0279f60a2c78a3bd4"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-events.buildEventStream (cyclomatic 26): run-report-events.buildEventStream has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9ad4fc531ef13801661b1b8ae2ebc967b4ccce3d277c2a429e6cf58df2d8db"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-trace-spans.slimTracerSpans (cyclomatic 26): run-report-trace-spans.slimTracerSpans 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-trace-spans.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d54427c82ac10ca56b96ad3ab26102547d0b2394167a67e6e52e3f8c4e4568"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-extract.slimLlmForShare (cyclomatic 26): run-report-extract.slimLlmForShare has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1762, 1786). 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f8b0b4b7d5fa597c7572e195a8c2dc72ffbc1f0f0d628e8ee1ebd48ac4ec52"}},{"ruleId":"D1","level":"warning","message":{"text":"perf-viewer.PERF_VIEWER::drawBlock (cyclomatic 26): perf-viewer.PERF_VIEWER::drawBlock 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. This shape REPEATS in the file: 2 other methods here (perf-viewer.PERF_VIEWER, perf-viewer.PERF_VIEWER::renderInspector) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ba813f600561d5a2b8d0ca1544ade9f9baa40856469c6179c0cb5e8fd4062b"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-html.buildMultiReportHtml (cyclomatic 26): run-report-html.buildMultiReportHtml has cyclomatic complexity 26 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 13 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-html.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed69ccb3ce95cea8569dba5f16c789c6cd51e589b90ad935ff37e38ac3e45be2"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-inspector.nodeBounds (cyclomatic 26): run-report-inspector.nodeBounds has cyclomatic complexity 26 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-inspector.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0f19b1be15dabf9b95b7fc1991044b6549a088c46eda0fd8d9c13d23f5cbc5"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary.mountSummary.cardHtml (cyclomatic 26): run-report-summary.mountSummary.cardHtml has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a96e88e98c47ac0f3c134e69f395085508b516b2c61a7254208475a8029246"}},{"ruleId":"D1","level":"warning","message":{"text":"DaemonClient.runAsync (cyclomatic 25): DaemonClient.runAsync 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DaemonClient.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d509ab9e4180f514c971e229006ff8946bd25c0b89807110218ef077e7d1e68"}},{"ruleId":"D1","level":"warning","message":{"text":"WaypointMigrateTrailCommand.call (cyclomatic 25): WaypointMigrateTrailCommand.call has cyclomatic complexity 25 (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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointMigrateTrailCommand.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6684f30b26a79855e336e5bb96cc07d1db3035bb82e202224bd2c774a402aff"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeDesktopApp.handleCliRunRequest (cyclomatic 25): TrailblazeDesktopApp.handleCliRunRequest 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/TrailblazeDesktopApp.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cee8a926675d886df145eb47561eca782a0a3862c251bb6f905aeacad786c25"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaywrightTrailblazeAgent.executePlaywrightToolOnThread (cyclomatic 25): PlaywrightTrailblazeAgent.executePlaywrightToolOnThread 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":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67fbdca48d88d86975a806859cb9a85491e046f3f6055d4126950f5a7ee7c5f"}},{"ruleId":"D1","level":"warning","message":{"text":"resolver.matchesSelector (cyclomatic 25): resolver.matchesSelector 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":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a458a48ae325ff968e37274f53550288e7652b2147614fcec4da08e056ac51f"}},{"ruleId":"D1","level":"warning","message":{"text":"live.runLiveSurvey (cyclomatic 25): live.runLiveSurvey has cyclomatic complexity 25 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/live.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea27d1f44e4862b7d2bda4a7cbf01c5bb4d2145c6f877bebc3c13af5d273ccc"}},{"ruleId":"D1","level":"warning","message":{"text":"companion.deriveCompanionDirectives (cyclomatic 25): companion.deriveCompanionDirectives has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 12 of the 25 points are its own statements and the rest belongs to 4 function items inside it that branch (entry, str, items, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"490ef59ee449bc292c4e1f51f7ac96ee5bb48c82a8b20bdd86699f270c0fa16a"}},{"ruleId":"D1","level":"warning","message":{"text":"companion.CompanionReviewAsk (cyclomatic 25): companion.CompanionReviewAsk has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (companion.CompanionReviewAsk::send) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"942d07710a734edb511afcff63fadf183f8a8ab29bd8e152162018cc5e497b43"}},{"ruleId":"D1","level":"warning","message":{"text":"integrations.IntegrationCard (cyclomatic 25): integrations.IntegrationCard has cyclomatic complexity 25 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 11 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/integrations.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2045239d1f18a37ceccd78e2854dca5fa910c85d9e4ecc401360b115718c1c83"}},{"ruleId":"D1","level":"warning","message":{"text":"sessions.SessionRow (cyclomatic 25): sessions.SessionRow has cyclomatic complexity 25 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb16c3b54ddb4da603d277aa9ff01fc7e994987c1fbab7d3b71190f8a51e0dcf"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-extract.estimateLlmComp (cyclomatic 25): run-report-extract.estimateLlmComp has cyclomatic complexity 25 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ad7b689d1f5459a9a7373e674df048cae64c94844c30f70876824407261d40"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-trail-model.cellFromGroups (cyclomatic 25): run-report-trail-model.cellFromGroups has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-model.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6931466d303c61fb264fae2ff0b6c495d293d08f711cc61838e0463f31b15a7a"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-theater-model.buildTheaterStory.chapters (cyclomatic 25): run-report-theater-model.buildTheaterStory.chapters has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1d65f6bf1c343b21d15159f5ddd86af12d17161d9c07c428d1c56d08dc5dba"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary.mountSummary.openMenu (cyclomatic 25): run-report-summary.mountSummary.openMenu has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 4 of the 25 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 1448, a function literal at line 1430, outside, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0becdc08150ed4efa36060b0060ab52800a95751ae0cfec15540a54f23ed119"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary.mountSummary.onWindowKeyDown (cyclomatic 25): run-report-summary.mountSummary.onWindowKeyDown has cyclomatic complexity 25 (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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":1723}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29fd08f2134290a266a546a82cbe5a8182ec6e215b5cc625a4c5ec506a3b6e5"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::parseFailure (cyclomatic 25): run-report-viewer.RUN_REPORT_VIEWER::parseFailure has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2434}}}],"partialFingerprints":{"codehealthFindingId/v1":"600a7c04cc72919fe1710f1ca443c847a3fffabfe690df32f753714113231e0f"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::txHeaderHtml (cyclomatic 25): run-report-viewer.RUN_REPORT_VIEWER::txHeaderHtml has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8727}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86571afebc6d1e69df7fb8fc23c3b6048cf376fdca96db7e089ea468573c2f7"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeProjectConfigLoader.resolveTrailmapArtifacts (cyclomatic 24): TrailblazeProjectConfigLoader.resolveTrailmapArtifacts 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailblazeProjectConfigLoader.kt"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6fcdbc766d32556c67ddc862c000d60463c2108c6d5fb36bd20775ca86c4c1"}},{"ruleId":"D1","level":"warning","message":{"text":"SerialDescriptorTsCodegen.renderType (cyclomatic 24): SerialDescriptorTsCodegen.renderType has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/jvmMain/kotlin/xyz/block/trailblaze/codegen/SerialDescriptorTsCodegen.kt"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d22279b89234e33719b76885a60387d5a84e92f2a61c9747a7638f89eddb11"}},{"ruleId":"D1","level":"warning","message":{"text":"runconfig-steps.TargetSection (cyclomatic 24): runconfig-steps.TargetSection has cyclomatic complexity 24 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e3acf093619bf69f668ffea0d5f8561076483a33cabb5ee2c4e4c74c31c839"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.agentToolMeta (cyclomatic 24): external-agents.agentToolMeta 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8615d0be72f4f8e29026bd39c3f183e60326d0794d0ca13059e7dc6294e282"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.AgentRecordStage (cyclomatic 24): external-agents.AgentRecordStage 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. This shape REPEATS in the file: one other method here (external-agents.AgentRecordStage::onStagePointerUp) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2770}}}],"partialFingerprints":{"codehealthFindingId/v1":"beab737f2ba8cc5ff87889bdb8db8ff43d10886f0e273e2d80dfbf836153a62a"}},{"ruleId":"D1","level":"warning","message":{"text":"record.buildProposalToolYaml::valueFor (cyclomatic 24): record.buildProposalToolYaml::valueFor has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4903dce93965800b1f0c3fe609dd011c62c65bbf9da7a3583d2bf8b88b639d8c"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-detail.StepRow (cyclomatic 24): trail-detail.StepRow has cyclomatic complexity 24 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee32478b0e4f5df5d91ffd28ec2b03ae25c5f254586a5fd8b741b9e479b4aeaa"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-detail.TrailDetailView (cyclomatic 24): trail-detail.TrailDetailView has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3651eb1ad6bc7f64ea78e5cc3ef51fc7e2b41208b3bcff4fb2cd7e004c456a"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-events.clampRow (cyclomatic 24): run-report-events.clampRow has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"584621f21d1fba070c048325892f485f78dc7be71597ba05a352a8965c921877"}},{"ruleId":"D1","level":"warning","message":{"text":"perf-viewer.PERF_VIEWER (cyclomatic 24): perf-viewer.PERF_VIEWER 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. This shape REPEATS in the file: 2 other methods here (perf-viewer.PERF_VIEWER::drawBlock, perf-viewer.PERF_VIEWER::renderInspector) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d62a0c2678170b05f47afb74f0778857cd1434cba0a9d2402e5e5c8b5f8e96c"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary-model.llmNote (cyclomatic 24): run-report-summary-model.llmNote has cyclomatic complexity 24 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec19f48e9ee101426f0ee4e6ba9945f7e64b85ff85ad68c211ab11f32a1646b"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-theater.mountTheater.applySnapshot (cyclomatic 24): run-report-theater.mountTheater.applySnapshot has cyclomatic complexity 24 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06ce707ec1c0ebe0b5e3bf404f9e8777a825c8450e663df285e58867aa7dd39"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::timelinePaneView (cyclomatic 24): run-report-viewer.RUN_REPORT_VIEWER::timelinePaneView has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2781}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba6821c35244b8f156e5d5f1c449c9ee8676383a5a69e8a77383f8803fd038e"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderCompareView::manyEventSection (cyclomatic 24): run-report-viewer.RUN_REPORT_VIEWER::renderCompareView::manyEventSection has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7931}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b7949a1448cb71a392e25e58659f464da3b5bdf1d03ffd3aab2b01ecf9daf6"}},{"ruleId":"D1","level":"warning","message":{"text":"zip-report-core.videoArtifactsFrom (cyclomatic 24): zip-report-core.videoArtifactsFrom 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1041948d97721f694636b174de92e0863af85bdba836c9cb4207a1b00098d0"}},{"ruleId":"D1","level":"warning","message":{"text":"HostAndroidDeviceConnectUtils.connectToInstrumentationExclusive (cyclomatic 23): HostAndroidDeviceConnectUtils.connectToInstrumentationExclusive has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/HostAndroidDeviceConnectUtils.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"08904cfbdee775d18502823aed269a749b9bfb55d2b85d876f79ac4774d2a528"}},{"ruleId":"D1","level":"warning","message":{"text":"CompileCommand.call (cyclomatic 23): CompileCommand.call has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CompileCommand.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2b0b6fdefc14446e942001779e94bf5ae7f77354437d73715468d56e6da31c"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaywrightScreenState.buildPageContextHeader (cyclomatic 23): PlaywrightScreenState.buildPageContextHeader has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c303c3b7d8635bbde40356790b82bc4e20388043e75d18bbc1098ee40afc1ac"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeMcpServer.registerToolsLocked (cyclomatic 23): TrailblazeMcpServer.registerToolsLocked has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":2587}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eba6fc78411ac864539d78042ca8765dac3186293582b06ab2703db6912db0f"}},{"ruleId":"D1","level":"warning","message":{"text":"context.fromMeta (cyclomatic 23): context.fromMeta has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/context.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"19933f6ef9d865c36ca6b4bf566ddadf8646abe01133b43759f10df407767145"}},{"ruleId":"D1","level":"warning","message":{"text":"companion.CompanionDemoFiles (cyclomatic 23): companion.CompanionDemoFiles has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 395, a function literal at line 413, openFile, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6f240fc4cd86cac31fb0c62fecd3573f01c159ce50cb30e8ca68eb1e959298"}},{"ruleId":"D1","level":"warning","message":{"text":"device-activity-model.slimLog (cyclomatic 23): device-activity-model.slimLog has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-activity-model.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1a3a19429e7aedffd71628a7158f1aa34f569650191de19abcf3d1c8d0dbc4"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.AgentComposer::send (cyclomatic 23): external-agents.AgentComposer::send has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (external-agents.AgentComposer) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"208497b2dbe7da6ad58edeb1c191f9cf6c465bd1cfe48f6b0df21e89afd433f7"}},{"ruleId":"D1","level":"warning","message":{"text":"steps-board.scaffoldArgs (cyclomatic 23): steps-board.scaffoldArgs has cyclomatic complexity 23 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5068798201fecdeb8fa0ae336af59d37b2fcf2f4af5b323dc1d40bd7204e9f7"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-yaml.normalizeTrailDoc (cyclomatic 23): trail-yaml.normalizeTrailDoc has cyclomatic complexity 23 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 4 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd2a5be8ad64f0a11c8854606bcd1f0289334b5640711951fcfe2d3f7767fe3"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-compare-model.contentDiffOf (cyclomatic 23): run-report-compare-model.contentDiffOf has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 1225, flushEdits, a function literal at line 1191, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2d62cea522309babfe012e06945ec2607aa4148cf69a491faef2c9003385d4"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-inspector.inspectorModel (cyclomatic 23): run-report-inspector.inspectorModel has cyclomatic complexity 23 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-inspector.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0919e0b9217c0c8ee8165592ba0487a4f19dfb832931d38fbdae2472fac2a6"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-theater.mountTheater.syncVideos (cyclomatic 23): run-report-theater.mountTheater.syncVideos has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d3a77ef438d3bc911ef2fae5d6a0fc29bb671064776b46fc461205d11c8436"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::failureMessageHtml (cyclomatic 23): run-report-viewer.RUN_REPORT_VIEWER::failureMessageHtml has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ad4a3748c5812ee8f0a0330d409cb525983496b6e356fe65d12a303b60d034"}},{"ruleId":"D1","level":"warning","message":{"text":"RunYamlRequestHandler.handle (cyclomatic 22): RunYamlRequestHandler.handle has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/handlers/RunYamlRequestHandler.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef378b1c095f6d9a30b55f46e086cc8b2d317c7da11adc9b195e3f225fe881f5"}},{"ruleId":"D1","level":"warning","message":{"text":"CliInfrastructureKt.cliTryStartDaemon (cyclomatic 22): CliInfrastructureKt.cliTryStartDaemon has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":2561}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61ba495dbc31562a9a5c1876d28543c75f4612248ab3b07975968aed40f26fc"}},{"ruleId":"D1","level":"warning","message":{"text":"CliMcpClient.connectToDevice (cyclomatic 22): CliMcpClient.connectToDevice has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"19707142020811fe4cae248f66a9f4e42def94d1e17b82017cc1933119baa871"}},{"ruleId":"D1","level":"warning","message":{"text":"CliMcpClient.connectReusable (cyclomatic 22): CliMcpClient.connectReusable has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"cded30aec8600d22eaca502a74927bb36a27234eb41443c8e5a323646b1cd929"}},{"ruleId":"D1","level":"warning","message":{"text":"CliOutputFormattersKt.formatBlazeResultAgent (cyclomatic 22): CliOutputFormattersKt.formatBlazeResultAgent has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliOutputFormatters.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"29270e700730ae42b923a74cc8fefd9a7ab387d66f95702b40b206ba043bd5fa"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeNodeSelectorGeneratorHelpersKt.buildStructuralMatch (cyclomatic 22): TrailblazeNodeSelectorGeneratorHelpersKt.buildStructuralMatch has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfba7775899598a41b13c489cd9c7ad678c120ecf898e2547d9fb0b5d68407c"}},{"ruleId":"D1","level":"warning","message":{"text":"CaptureVideoFrames.fill (cyclomatic 22): CaptureVideoFrames.fill has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/strings/CaptureVideoFrames.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6375e9b92c3e9dcd9ff4e6a0bce6c8eb5115cce3027f57e5a28ce0a34dd82ac"}},{"ruleId":"D1","level":"warning","message":{"text":"context.parseTarget (cyclomatic 22): context.parseTarget has cyclomatic complexity 22 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 11 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/context.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6be8437d0af5cb1b87919c75f62763693678ae19a852d9e3c8283c07839fc6"}},{"ruleId":"D1","level":"warning","message":{"text":"discover.loadSurveyModules (cyclomatic 22): discover.loadSurveyModules has cyclomatic complexity 22 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 10 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":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2865621e17a29534e93de33a0217c2dab94545c902b47ec3ba486addddbe3c"}},{"ruleId":"D1","level":"warning","message":{"text":"editor.TrailEditor (cyclomatic 22): editor.TrailEditor has cyclomatic complexity 22 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccdf2c6ba096887466da69841bed78d14fb37ada6f8f5eca001c06fb8a8ac18"}},{"ruleId":"D1","level":"warning","message":{"text":"companion.CompanionFolderRail (cyclomatic 22): companion.CompanionFolderRail has cyclomatic complexity 22 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body: 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"727088ec1e9a9f9de01f0ed57c9a322669bb59ab012da3cb87a71ed726d6ec28"}},{"ruleId":"D1","level":"warning","message":{"text":"integrations.IntegrationsScreen (cyclomatic 22): integrations.IntegrationsScreen has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/integrations.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcade32133600aeba7195cb3d1d7b25f83c05bd01e5f299da378e19b66f08a9"}},{"ruleId":"D1","level":"warning","message":{"text":"ui.HoverTip (cyclomatic 22): ui.HoverTip has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 892, show). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a088c17c658e2eba28f728517badc5d35589918eb4ad9f54fb19efde6a13e3b"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-cli.main (cyclomatic 22): run-report-cli.main has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 971, 961, 946, \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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6ad6cdcbda6985d917fb99bbac8c6406b7328ebb4de7cab864f6efb9e18bbc"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-extract.yamlScalarAt (cyclomatic 22): run-report-extract.yamlScalarAt has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee590c8544548abad537200dd8e1c187f59073185268123e25896dd134ba547"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-extract.summarizeToolArgs (cyclomatic 22): run-report-extract.summarizeToolArgs has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"a801bd4745fde758b1ee52ca316df2cb349b1d9e2f8b626f28ebd5ca1236baa1"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-compare-model.timedEventObjectsOf (cyclomatic 22): run-report-compare-model.timedEventObjectsOf has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 711, a function literal at line 698, a function literal at line 704, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b2058329f8e8d63a219474dbfab739203bbff92750deee79688214decfd57d"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary-model.toolReading (cyclomatic 22): run-report-summary-model.toolReading has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"843d36c393a6d8e97b921265721602e9cf725ffb8dccc60b2b9f87f12e359dc6"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary-model.memoryLane (cyclomatic 22): run-report-summary-model.memoryLane has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7e5c360eeb434be4b112e13a09fd1baf0438cd9c8941f031979603777342f8"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-theater.mountTheater.tick (cyclomatic 22): run-report-theater.mountTheater.tick has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7684364f52bc54c62d73ce5e12b3817a1822d02b9bf3bf699a6f1e552f003432"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::shotClipMark (cyclomatic 22): run-report-viewer.RUN_REPORT_VIEWER::shotClipMark has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, run-report-viewer.RUN_REPORT_VIEWER::readRoute, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"742428109fc448265b4a33543ae7c9e0194759d11aeec8c57caf3c992d6e67ea"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::highlightedYaml (cyclomatic 22): run-report-viewer.RUN_REPORT_VIEWER::highlightedYaml has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4851}}}],"partialFingerprints":{"codehealthFindingId/v1":"83750e5becb43a24af55a9ab1815feb26163b9b06f30d2d2a82471f43db49684"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::navigateTranscript (cyclomatic 22): run-report-viewer.RUN_REPORT_VIEWER::navigateTranscript has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8846}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d96a91f82caf90cd81281ff62aa790a335ea42c97835a1d534bfc4128a8bbbb"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::onPopstate (cyclomatic 22): run-report-viewer.RUN_REPORT_VIEWER::onPopstate has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11090}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1951ee3fd6b5e84f113cf9bb33236da682867e25fe4c9b9d861ee01c665020"}},{"ruleId":"D1","level":"warning","message":{"text":"zip-report-core.sessionDisplayName (cyclomatic 22): zip-report-core.sessionDisplayName has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe3158f97e4bf5348ca0718eea27e883297adb11e60e34201a91697095f8504"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlinSourceParser.findPrecedingKdoc (cyclomatic 21): KotlinSourceParser.findPrecedingKdoc has cyclomatic complexity 21 (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":"build-logic/src/main/kotlin/SelectorTsCodegen.kt"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"093f2d21bde08270b607553c6a21151f3afa434c538f5ec1ecd945955d497157"}},{"ruleId":"D1","level":"warning","message":{"text":"McpProxy.forwardRequest (cyclomatic 21): McpProxy.forwardRequest 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/McpProxy.kt"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3e51516068dd27e4570c90f49442981eeed38455b7062826a9a58fb15efcf8"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionInfoCommand.call (cyclomatic 21): SessionInfoCommand.call has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bd1f5e4e0aca72db58efb289a531d9d4f02b5edce427f4de1fbf16649a3a6a"}},{"ruleId":"D1","level":"warning","message":{"text":"RevylHostDriverDescriptor.runRevylYaml (cyclomatic 21): RevylHostDriverDescriptor.runRevylYaml has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfba6587373f3bc0a6c10c94fd75fe5d9137b6e95c610419c24a34c1dc8df7e"}},{"ruleId":"D1","level":"warning","message":{"text":"RunRoutesKt.maybeMergeIntoUnifiedTrail (cyclomatic 21): RunRoutesKt.maybeMergeIntoUnifiedTrail 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RunRoutes.kt"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4f975522230aec669f84d0ea2041af3215cb1573db34aeef2ec429815f1ab6"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionImporter.importSessionFromZip (cyclomatic 21): SessionImporter.importSessionFromZip 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/tabs/sessions/SessionImporter.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e2142acf73018b4cbd33833345461825b72baa961e3ad223effca68db4a554"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeNodeSelectorResolver.matchesCompose (cyclomatic 21): TrailblazeNodeSelectorResolver.matchesCompose has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"449e6eaf255b7e867eb9df55cbb4abbdd482973e3a6660ccbf33e30ecbeeae96"}},{"ruleId":"D1","level":"warning","message":{"text":"StoryboardHtmlBuilder.labelFor (cyclomatic 21): StoryboardHtmlBuilder.labelFor has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/StoryboardHtmlBuilder.kt"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0c9960ff77219183451c5a22736e9863939f126754dbf7e2cf8f3e0f43a1e2"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerateReportEndpoint.register (cyclomatic 21): GenerateReportEndpoint.register has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/GenerateReportEndpoint.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c935bd8a601b0206457fb09b461776c2f353ee5ea3a3cde1fe801d29f3462b"}},{"ruleId":"D1","level":"warning","message":{"text":"BridgeUiActionExecutor.describeScreen (cyclomatic 21): BridgeUiActionExecutor.describeScreen 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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"73419140e0d0ed0323bb308419c0bc214a2ef6d2e77863d9e4fd4897a9fcfb25"}},{"ruleId":"D1","level":"warning","message":{"text":"memory.createMemory (cyclomatic 21): memory.createMemory 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 10 function items inside it that branch (lookupToken, a function literal at line 268, a function literal at line 314, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/memory.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"40767a4bd7bfb0aaa158cc7c4e4b622712bd65f77ec13cb23a24c162dfa17393"}},{"ruleId":"D1","level":"warning","message":{"text":"resolver.matchesCompose (cyclomatic 21): resolver.matchesCompose has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9270021f62cef022b6b351445b55ec861dd6d5d9dadc5779926e9610a18771"}},{"ruleId":"D1","level":"warning","message":{"text":"discover.discoverSessions::walk (cyclomatic 21): discover.discoverSessions::walk 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":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c039467f03645a48f5b61c3985569701b3b7d9eb385d5e7b26612931697f85"}},{"ruleId":"D1","level":"warning","message":{"text":"data-core.switchWorkspace (cyclomatic 21): data-core.switchWorkspace has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b98e993592ae02c26873f23b4735ad1f4ad9186ebbe63017aa71b73801b1d61"}},{"ruleId":"D1","level":"warning","message":{"text":"editor.ToolDocPopover (cyclomatic 21): editor.ToolDocPopover has cyclomatic complexity 21 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 7 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"af328ec5061218a178e55e2d2b1dd0c873b3bbca9158992d9bdb7ac7db93b2f6"}},{"ruleId":"D1","level":"warning","message":{"text":"run-fanout.dispatchRuns (cyclomatic 21): run-fanout.dispatchRuns has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 249, 245). 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-fanout.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3116dd0022383e5c74f4fe389e0cd3115825fa2b3540197cf28602cea75bf74"}},{"ruleId":"D1","level":"warning","message":{"text":"run-payload.fetchReportEvents (cyclomatic 21): run-payload.fetchReportEvents has cyclomatic complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8eb5975fe9cfa0bd3f5cf91e87152351f29309cd3e34f1b62f632189920b41"}},{"ruleId":"D1","level":"warning","message":{"text":"record.RecordScreen::runAdhocYaml (cyclomatic 21): record.RecordScreen::runAdhocYaml 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. This shape REPEATS in the file: 2 other methods here (record.RecordScreen, record.RecordScreen::propose) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0579a8cbcf6eb65241a44fe641dccad9de6786892133a231a929f166b441508"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-detail.UnifiedStepsBoard (cyclomatic 21): trail-detail.UnifiedStepsBoard has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (trail-detail.UnifiedStepsBoard::renderRow) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d5b96116178ea452691afae57e0d3c89600269bc040e3a530f37b07ccd90ca"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-events.derivedStreamStatus (cyclomatic 21): run-report-events.derivedStreamStatus 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a592e075a0a5c2af12084536ec448ed7b9b82f49385b87730e4cdb3385ad71"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-compare-model.highlightSpans (cyclomatic 21): run-report-compare-model.highlightSpans has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2aebf41109c750964774547ab3f13c06061fe4e74d070c6913e97db528effa"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-compare-model.pickGroupPath (cyclomatic 21): run-report-compare-model.pickGroupPath has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 589, 575). 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"31480022bba087fdf34e3cebb612b3300c2435e898a653a34179a0f5bf1834c5"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-compare-model.eventSummary (cyclomatic 21): run-report-compare-model.eventSummary 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 5 function items inside it that branch (walk, a function literal at line 1001, crop, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1a4f98766fd1feb7f71056097532e3227d955657f8a77bde78a868e5d5ee13"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-compare-model.compareEventStreamsByStep (cyclomatic 21): run-report-compare-model.compareEventStreamsByStep has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 1392, a function literal at line 1423, a function literal at line 1378, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"551ea942b37eaddedb33699fe3e1989f7d9a6a73c736dfb4051e557d1f4030c4"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-device-frames.frameKindFor (cyclomatic 21): run-report-device-frames.frameKindFor has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-device-frames.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1175fb73b3d4122b383a8952d2d16d7bca334e7c83364859cbe7f8f84c72cff1"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-selectors.selectorSuggestionsHtml::card (cyclomatic 21): run-report-selectors.selectorSuggestionsHtml::card 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-selectors.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d801729e2e3e637283a4ca0e362860124de8b5ba81b218df79f2d11fb9ac1ba"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-playback.buildPlaybackSchedule (cyclomatic 21): run-report-playback.buildPlaybackSchedule has cyclomatic complexity 21 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 7 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-playback.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1b1ea6a7b196fb401dd64707a88f3b6db60e8268f61bd00190d2a520b6c2c6"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-theater-model.buildTheaterStory.addAction (cyclomatic 21): run-report-theater-model.buildTheaterStory.addAction has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b0aa45986a80335a657e4c64e48aaa7c9ea919512594c51e4dd3ce16d30158"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary.mountSummary.paintPreview (cyclomatic 21): run-report-summary.mountSummary.paintPreview has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c53a3cec1f017a76f6a1e15578914a78c5e827d236d8f090182a116f0e33412"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary.mountSummary.onClick (cyclomatic 21): run-report-summary.mountSummary.onClick 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"2729be54dd56ad95ce1f9a59cb08bf5262514ebbee42c7ae306546cc6816b8dc"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::paintInspector (cyclomatic 21): run-report-viewer.RUN_REPORT_VIEWER::paintInspector has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9025}}}],"partialFingerprints":{"codehealthFindingId/v1":"175ff88626cc5160138c49f777b5ec7078bea8d5602566f6c03894297da1d5b5"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::centerTimelineRow::center (cyclomatic 21): run-report-viewer.RUN_REPORT_VIEWER::centerTimelineRow::center 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. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9468}}}],"partialFingerprints":{"codehealthFindingId/v1":"f844e119f873770a1e1e9b1490a4c5bf727f105386edeaea77b3c0b683c09d2c"}},{"ruleId":"D1","level":"warning","message":{"text":"sessionEventStreams (cyclomatic 21): sessionEventStreams has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 belong to 17 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d49a7fb9ebda81ee7e26051aa190b55704cfe96bfaa27123135fa72d187eb2"}},{"ruleId":"D1","level":"warning","message":{"text":"buildTargetGroups (cyclomatic 21): buildTargetGroups has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 36, 58, 22, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/target-picker-model.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f31a53d33a56af7310be589bad986a9c0f7ead3b3e5dc72ac0ec50338fca5e"}},{"ruleId":"D1","level":"warning","message":{"text":"CaptureSession.fromOptions (cyclomatic 20): CaptureSession.fromOptions has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/CaptureSession.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5ed89799409f45559b5776be77ed6213693f76c9728916996b539b72a91f8e"}},{"ruleId":"D1","level":"warning","message":{"text":"DeviceTimedFlvMuxer.write (cyclomatic 20): DeviceTimedFlvMuxer.write has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/DeviceTimedFlvMuxer.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"460e16d4553caa0e89d65d19d0eb6f4c9186dad1c6b45e7c41c6a9bdbfe7af24"}},{"ruleId":"D1","level":"warning","message":{"text":"KoogStrategyGraphHostRunnerKt.runPromptsWithKoogStrategyGraph (cyclomatic 20): KoogStrategyGraphHostRunnerKt.runPromptsWithKoogStrategyGraph has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mcp/agent/KoogStrategyGraphHostRunner.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d264be662a8cc5443b8fdeb039103578312a3ebd598ada3c30c73c06eeba85"}},{"ruleId":"D1","level":"warning","message":{"text":"SurveySourceText.callArgumentsAt (cyclomatic 20): SurveySourceText.callArgumentsAt has cyclomatic complexity 20 (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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/surveys/SurveySourceText.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"802ff17e35e16872acfd51e6e796c634cee8fa345ca8f63dc88d4231f35852cf"}},{"ruleId":"D1","level":"warning","message":{"text":"TapTrailblazeTool.toExecutableTrailblazeTools (cyclomatic 20): TapTrailblazeTool.toExecutableTrailblazeTools 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/TapTrailblazeTool.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5b7724be256567dd5eab2ab52fa827f7e856077ca504f03e6c6e0dce757cc5"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolboxCommand.formatIndexResult (cyclomatic 20): ToolboxCommand.formatIndexResult 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolboxCommand.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5397af7b911fb3b39061acaeccfc36984284d515592bedc8175a5cee063b58a"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailCommand.executeTrailAndCollectResults (cyclomatic 20): TrailCommand.executeTrailAndCollectResults 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"807621b7d3243182c4b4f58097e3e4c663b571a164864086bc26cff3fa403deb"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailTscValidator.attributeRecordedCalls (cyclomatic 20): TrailTscValidator.attributeRecordedCalls 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailTscValidator.kt"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"af312071e655cb2c0f0b1ecade3b30eb0691dd345456688a18610bf7e48d69d0"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeNodeSelectorResolver.matchesDriverDetail (cyclomatic 20): TrailblazeNodeSelectorResolver.matchesDriverDetail has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24d64c50bbf98063b5e8171d5cfce0cf3f868fd8d06691791209b14b7797853"}},{"ruleId":"D1","level":"warning","message":{"text":"resolver.matchesIosMaestroAgainstAxe (cyclomatic 20): resolver.matchesIosMaestroAgainstAxe 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":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c7513c143898fd015d74be9030ab9492ee642c4d9a13694a9b98bb65c17455"}},{"ruleId":"D1","level":"warning","message":{"text":"cli.main (cyclomatic 20): cli.main has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/snapshot/cli.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7109e63f69273c8451b08d84e8a6b757313fa710b600183724f8b5ef1e5fd7"}},{"ruleId":"D1","level":"warning","message":{"text":"extract-tool-defs.literalValueOf (cyclomatic 20): extract-tool-defs.literalValueOf 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":"sdks/typescript/tools/extract-tool-defs.mjs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc12eab26f851f643e43714ef19b447d8a429f05ea3aa3af8e8aa34a8537eb9"}},{"ruleId":"D1","level":"warning","message":{"text":"data-hooks.useSessions (cyclomatic 20): data-hooks.useSessions has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 204, 192). 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-hooks.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b8528a6a93080d851eac69177d89d258fc947f9d35e3c65bcb83483bc684b3"}},{"ruleId":"D1","level":"warning","message":{"text":"device-console.useDeviceActivity (cyclomatic 20): device-console.useDeviceActivity has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 700, 654, 670, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9096c4a68e8e74675b4f967cb8c94f335d9a70b8d0b2f7dc482c633a2f9a0d"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.AgentNewConversationBody (cyclomatic 20): external-agents.AgentNewConversationBody has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 821, 828, 835, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8c8c70221cd2e3a4b0ce7378e7832fb520e184f390706f09cfd4cfe58d63d3"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.AgentPermissionBar (cyclomatic 20): external-agents.AgentPermissionBar has cyclomatic complexity 20 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ba4592681394b55b6c909552893f0cc29e0f27fe8503a0b0021e32e05999d3"}},{"ruleId":"D1","level":"warning","message":{"text":"record.selectorRegexInfo (cyclomatic 20): record.selectorRegexInfo has cyclomatic complexity 20 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2058}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a36fa185ee0a29d03976dd77ad1fa9e16796b0485e9b3cd7beabdf8d888996"}},{"ruleId":"D1","level":"warning","message":{"text":"trailmaps.ComponentDetail (cyclomatic 20): trailmaps.ComponentDetail has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to 4 function items inside it that branch. To reduce it, split the body: 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac46a591520ade9cb1422c9a555ebe407fd5e208f8bb55c4a73926986a4b6179"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-payload.jsonToYaml (cyclomatic 20): run-report-payload.jsonToYaml has cyclomatic complexity 20 (threshold 15). 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 items inside it that branch (a function literal at line 299, append, scalar, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b87f3f46545de5e25df834a7592cd4a56e3d6aae74422baecbb9c0a3a95bf84"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-payload.transcriptToolCallYaml (cyclomatic 20): run-report-payload.transcriptToolCallYaml has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"608629aafeb133ee63feb83328c91f9347533c680b19e8d04a363fa73b94bbfa"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-extract.actionMark (cyclomatic 20): run-report-extract.actionMark has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72ee7941b1e6cb22a2fdb52546e5b84b04538ff8717980f84b756eb1bd858e6"}},{"ruleId":"D1","level":"warning","message":{"text":"perf-extract.buildSteps (cyclomatic 20): perf-extract.buildSteps 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"2753c43123d92e752c7d2c396a01894bd57cc4791867f8771f723d1dd63f891b"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-compare-model.pickGroupPathMany (cyclomatic 20): run-report-compare-model.pickGroupPathMany has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 631, 619). 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bde6dbd622d3a1aa44bf6960b8cb4811de54cbf48ee19bf4f94f5fb10ad2bd7"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-trail-replay.buildReplayTimeline (cyclomatic 20): run-report-trail-replay.buildReplayTimeline has cyclomatic complexity 20 (threshold 15). Of this number, 18 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8553b739bebe166de69523d05bac2d4e66e2c17eaa1d603d12bd7796ef129981"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-theater.mountTheater.paintMirror (cyclomatic 20): run-report-theater.mountTheater.paintMirror has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"b799ec0821eeb5ce4a26c7d9ebaef49ce360d6305b11c1ca7761fa9fa7f13cac"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::captureMoments (cyclomatic 20): run-report-viewer.RUN_REPORT_VIEWER::captureMoments has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4379}}}],"partialFingerprints":{"codehealthFindingId/v1":"5481a72978481e52b2784924d3f2bee9e5df9369bb07ca6c85f174e349587701"}},{"ruleId":"D1","level":"warning","message":{"text":"extractToolSpec (cyclomatic 20): extractToolSpec 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":"sdks/typescript/tools/extract-tool-defs.mjs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"86105091bb1ab8e734482bb214e115c5f645ebac90d5fe7b8f32978b334d02ab"}},{"ruleId":"D1","level":"warning","message":{"text":"EventStreamScanner.forward (cyclomatic 19): EventStreamScanner.forward 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/events/EventStreamScanner.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3080a2d9094122b747a538087d763a8ffc1d1d58b1d84d0f7cc546cae5326e11"}},{"ruleId":"D1","level":"warning","message":{"text":"SurveySourceText.scan (cyclomatic 19): SurveySourceText.scan 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/surveys/SurveySourceText.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"574eb6bda3256a59998f2f9e34fcd85736ad65afae1a971af9249abfae6fa979"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckCommand.runTrailLintPhase (cyclomatic 19): CheckCommand.runTrailLintPhase has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CheckCommand.kt"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"355a24834e72bad8c05c1a12d73b3b33bec89448a82ece01cc42a733d13e2fa8"}},{"ruleId":"D1","level":"warning","message":{"text":"ScriptedToolSourceSnapshotScanner.snapshot (cyclomatic 19): ScriptedToolSourceSnapshotScanner.snapshot 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/usages/ScriptedToolSourceSnapshotScanner.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e1644773493805991122aae9ee8e7fc72641d95365edad6eb29b92fd414e73"}},{"ruleId":"D1","level":"warning","message":{"text":"IosCompactElementList.isSystemUi (cyclomatic 19): IosCompactElementList.isSystemUi has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/IosCompactElementList.kt"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"434c10cc59f04110b3edf1def111b9437adee222a10fce011a8b04811d6883fe"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerateTestResultsCliCommand.generateToolUsageReport (cyclomatic 19): GenerateTestResultsCliCommand.generateToolUsageReport has cyclomatic complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5af0c3a38104a6897813761535ea608f7b1491479d9ed25ec7cf66593bd7a7"}},{"ruleId":"D1","level":"warning","message":{"text":"memory.attachMemoryDeltaToResult (cyclomatic 19): memory.attachMemoryDeltaToResult 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":"sdks/typescript/src/memory.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"49aeb209dbc740e53c2ad18b7776cbbb0147cb0701662df361a9dbcd8f5c5b11"}},{"ruleId":"D1","level":"warning","message":{"text":"data-core.resolveRunDevice (cyclomatic 19): data-core.resolveRunDevice has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d60a58c0cdd1c1f036a3f790eda545188b7ca9b904945866d06330669e872d"}},{"ruleId":"D1","level":"warning","message":{"text":"run-payload.normalizeSummary (cyclomatic 19): run-payload.normalizeSummary has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47582a5a7ca480e26d976b64a4cad529dd6e8d2b7ae9406adda854222716044"}},{"ruleId":"D1","level":"warning","message":{"text":"run-payload.collectAttachments (cyclomatic 19): run-payload.collectAttachments has cyclomatic complexity 19 (threshold 15). Of this number, 17 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae422208878c2abdcb4caa4a1a4f8f528c6551b7c3dcacf1fa1307fb7e252c0"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.tapSelectorMeta (cyclomatic 19): external-agents.tapSelectorMeta has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2358}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7103d69a4a5b567fb19c3c9dda105aa3678fc2e1f494c35db2da22b5d9441d"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.AgentDeviceEventLog (cyclomatic 19): external-agents.AgentDeviceEventLog has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 2645, 2637, 2643, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2636}}}],"partialFingerprints":{"codehealthFindingId/v1":"436dfb0e98f340e5f34c49ebf87394595839482a98b95d8c8565db2ebee3cd1f"}},{"ruleId":"D1","level":"warning","message":{"text":"follow-run-model.decide (cyclomatic 19): follow-run-model.decide has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/follow-run-model.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a7f6eb6cf9055b9e17dce426ebc65ace8f01257455a0af9e9e7b24fb086444"}},{"ruleId":"D1","level":"warning","message":{"text":"record.SelectorRegexEditor (cyclomatic 19): record.SelectorRegexEditor has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2082}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6bdcae8e206f649e6806386fedc797fd8f88ec4e1b6837deb968c7b00073e2"}},{"ruleId":"D1","level":"warning","message":{"text":"trace-viewer.SaveAsTrailModal (cyclomatic 19): trace-viewer.SaveAsTrailModal has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body: 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"788ecb5c89cd4f37490d2e579ab3ba47fb9471864bf73bc98b347f5e29751bb9"}},{"ruleId":"D1","level":"warning","message":{"text":"ui.HelpButton (cyclomatic 19): ui.HelpButton has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 7 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af6cd767d22abd87e25725843686df5023fb270045d9a8714b1468ddcb85841"}},{"ruleId":"D1","level":"warning","message":{"text":"perf-viewer.PERF_VIEWER::renderInspector (cyclomatic 19): perf-viewer.PERF_VIEWER::renderInspector 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. This shape REPEATS in the file: 2 other methods here (perf-viewer.PERF_VIEWER, perf-viewer.PERF_VIEWER::drawBlock) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cec8fbeef756e86285759588204bb6855a44211d8c78457ec34fc6e4c19d158"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-compare-model.diffStream (cyclomatic 19): run-report-compare-model.diffStream has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"9232202e7239eeac39f527474c75b3dcc6fe05197ae3912b78887c09434fcf75"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-playback.buildExportSchedule (cyclomatic 19): run-report-playback.buildExportSchedule has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-playback.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1414f1750c6fb6047f94a9fe894f49b62e7c65d1920d0774646fc3e5e8b57438"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-strings-frames.grabClipFrames (cyclomatic 19): run-report-strings-frames.grabClipFrames has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-strings-frames.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1799186121fdc1a0f545b6a61a121d259581c88d28ae712dd05f82eb8cb4ca7a"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary-model.networkCallNote (cyclomatic 19): run-report-summary-model.networkCallNote has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bffe69960a1d503170be15d78019daf3996fa43e9ec9f2357bd16c510056a2"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary.mountSummary.entryRows (cyclomatic 19): run-report-summary.mountSummary.entryRows has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c36b71b67a708a0122fc32a64619c5ac2dba266acc741b8a03c4225587b2667"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::stepRowHtml::kidRow (cyclomatic 19): run-report-viewer.RUN_REPORT_VIEWER::stepRowHtml::kidRow has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3562}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ba8d617d5fcc20c460096a28aebd42685bc3b3534df83a9efb9afebf21fcfe"}},{"ruleId":"D1","level":"warning","message":{"text":"sessionAttachments (cyclomatic 19): sessionAttachments has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"194a2257fe376086da237ac0f15e8f696a6a40d610e4e864c78122ac0547b820"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerateAndroidTrailJUnitShellsTask.generate (cyclomatic 18): GenerateAndroidTrailJUnitShellsTask.generate 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":"trailblaze-android-gradle/src/main/kotlin/TrailblazeAndroidGradlePlugin.kt"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"078ef746bacca6e7b9c421bb91a52c5e820ad3323f7babe8deefff08605af114"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeAccessibilityService.waitForSettled (cyclomatic 18): TrailblazeAccessibilityService.waitForSettled 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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"73993351675dac27d47a42d4b5eb05e62381ce3880339f46b27eb633e5244979"}},{"ruleId":"D1","level":"warning","message":{"text":"H264Tee.runReaderLoop (cyclomatic 18): H264Tee.runReaderLoop 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":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/H264Tee.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c31714085d81b3bec67f9e480919b6bd42c89afacdf76a82281f4171f2af8fa"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseTrailblazeAgent.dispatchTools (cyclomatic 18): BaseTrailblazeAgent.dispatchTools 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/BaseTrailblazeAgent.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62182f67d4f2bb5b171916385bfbcb096a266f077606b3933d8186665d50236"}},{"ruleId":"D1","level":"warning","message":{"text":"ComposeSemanticTreeMapper.appendCompactNode (cyclomatic 18): ComposeSemanticTreeMapper.appendCompactNode 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":"trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/ComposeSemanticTreeMapper.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"1275ac3b163a445df6ca2f5f612886cbcfa9459d1e10e2d8e95837f995e8803e"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigCommand.showAllConfig (cyclomatic 18): ConfigCommand.showAllConfig 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ConfigCommand.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ff3b8c19f0032c42a6e74694192577609e1078fed0ed184be024171c9504d3"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionSaveCommand.call (cyclomatic 18): SessionSaveCommand.call 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e9831e8b74244316a81566ececab49efdc47a517b770174244b6d028cc2ff3"}},{"ruleId":"D1","level":"warning","message":{"text":"HostOnDeviceRpcTrailblazeAgent.executeToolViaRpcUntraced (cyclomatic 18): HostOnDeviceRpcTrailblazeAgent.executeToolViaRpcUntraced 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"6554cb0e4c8a845c61103c9399a4d03707fdfdf71f7ff245eaf9e15ee886df19"}},{"ruleId":"D1","level":"warning","message":{"text":"DeviceManagerToolSet.bindNamedDevice (cyclomatic 18): DeviceManagerToolSet.bindNamedDevice 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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2df73c7882e8cf1ef7f4b6d6ff82ef28018f9cb152b65c088e1c48752719b1d"}},{"ruleId":"D1","level":"warning","message":{"text":"trailblaze-node.hitTest (cyclomatic 18): trailblaze-node.hitTest has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to one function item inside it that branches (visit). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/trailblaze-node.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"14185b1c24320eb0b9167bf0c2397c443cf1cd905dfd41bdd9be0c39a7d8a79e"}},{"ruleId":"D1","level":"warning","message":{"text":"survey.survey (cyclomatic 18): survey.survey 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":"sdks/typescript/src/surveys/survey.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7dc5cd5b5b26265a8a04c4ae05155a10e2f9dc4216da5d428db2ca490d8928"}},{"ruleId":"D1","level":"warning","message":{"text":"stream.eventStream (cyclomatic 18): stream.eventStream 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":"sdks/typescript/src/surveys/stream.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccde96f7bbf43730a1571358b529eb41092b7b584e881b80c6dbc2f3fa57216"}},{"ruleId":"D1","level":"warning","message":{"text":"android_ensureAppCompiled.android_ensureAppCompiled (cyclomatic 18): android_ensureAppCompiled.android_ensureAppCompiled 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":"trailblaze-common/src/commonMain/resources/trails/config/trailmaps/android/tools/android_ensureAppCompiled.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f813ed2b6a662581aa991415d24fd273906fa166de9647324d1cf34d5e9d116"}},{"ruleId":"D1","level":"warning","message":{"text":"record.seedPrompt (cyclomatic 18): record.seedPrompt has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab39fd597c42538ba7de678a3f371bea8da638a2de15cc4b6b5e3c95e1d1b0af"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-model.logicalLegs (cyclomatic 18): trail-model.logicalLegs has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-model.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5b8babace89869584789f9f6dd585ccad9a2854de672a88acfe574a198bf49"}},{"ruleId":"D1","level":"warning","message":{"text":"trailmaps.ComponentOverview (cyclomatic 18): trailmaps.ComponentOverview has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e4cf0ef7f56db213084d76fb276730304bfea39c58685e5f9033d6a816a465"}},{"ruleId":"D1","level":"warning","message":{"text":"shell.ExtensionWorkspaceScreen (cyclomatic 18): shell.ExtensionWorkspaceScreen has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 683, 670, 678, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c9b88db709e79cb6b01592ed014983e620614fca0b9b326ea4835c4443de4f"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-yaml.normalizeScratchTrailYaml::legacyTrailheadToUnified (cyclomatic 18): trail-yaml.normalizeScratchTrailYaml::legacyTrailheadToUnified 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. This shape REPEATS in the file: 2 other methods here (trail-yaml.normalizeScratchTrailYaml, trail-yaml.normalizeScratchTrailYaml::fragmentToStep) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"df486f03d2275432e53942ff2254027d14ddd3fdc9bb1b52521780eb369a56ab"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-events.derivedLanes (cyclomatic 18): run-report-events.derivedLanes has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd0e0f7ca2c368a1bd133da1e116a5e96da055085e7c42cf284e36fcbeb80f8"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-extract.driverActionsAfterTheirTool (cyclomatic 18): run-report-extract.driverActionsAfterTheirTool has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a597b117837f570d97157face409eca494076285653847291529b01f5d7b29"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-compare-model.toDisplayPair (cyclomatic 18): run-report-compare-model.toDisplayPair has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"26768590086f769643662219e3cbca563b8e33d856b762f42a37a92896deb9c2"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary-model.visibleStringsLane.notes (cyclomatic 18): run-report-summary-model.visibleStringsLane.notes has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"53405aab2e7fe58c0128642c81f538dac65edf2afc327fc8a958d8ceeaf87e20"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-theater-model.yamlSegments (cyclomatic 18): run-report-theater-model.yamlSegments has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 2 function items inside it that branch (scalar, push). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec57d89e0f889617c1871c42d0c8214be778e51a08dd9b3909b6ea286c40000"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-theater.cleanMark (cyclomatic 18): run-report-theater.cleanMark has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2a41de6c7814c182d2c63785c65da04372ab8d3da1e358aedfb23a4a2f7eff"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::attachmentBodyHtml (cyclomatic 18): run-report-viewer.RUN_REPORT_VIEWER::attachmentBodyHtml has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3199}}}],"partialFingerprints":{"codehealthFindingId/v1":"f685d32a41e0783dc7f764b00cef555edcda3ab6bd7c60bb07b2891f75785b47"}},{"ruleId":"D1","level":"warning","message":{"text":"buildSessionInputsFromZipBytes (cyclomatic 18): buildSessionInputsFromZipBytes has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 999, 1027, 996, \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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"653dfdf317bb1911ca2f286abffb5ba60815b0d2d306e9a64c21a3f7b02c13b9"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailDiscovery.runDiscoveryWalk (cyclomatic 17): TrailDiscovery.runDiscoveryWalk has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailDiscovery.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"0106d0d8d740c75700f18d96644300405da677ddfe40669d3434efd3b89b16b2"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeLogger.extractProgressEventData (cyclomatic 17): TrailblazeLogger.extractProgressEventData has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/logs/client/TrailblazeLogger.kt"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abcd90b4c49b4fe8d3348793602660ff0d73268437c2097b56761ab50cfa62f"}},{"ruleId":"D1","level":"warning","message":{"text":"LoopCommand.call (cyclomatic 17): LoopCommand.call has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/LoopCommand.kt"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76c1f2b79f17401bd1309924873bf3dd95dabbb5c07dca4e21b88d2e841c6db"}},{"ruleId":"D1","level":"warning","message":{"text":"ResolvedTargetReportEmitter.renderAvailabilityMatrix (cyclomatic 17): ResolvedTargetReportEmitter.renderAvailabilityMatrix has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d35e81fca8eb357fe77d542f0c4c9a55947d73b002dc2d170704bc12de8be1"}},{"ruleId":"D1","level":"warning","message":{"text":"DeviceApiEndpointKt.launchLegacyPollingSubscription (cyclomatic 17): DeviceApiEndpointKt.launchLegacyPollingSubscription 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/rpc/DeviceApiEndpoint.kt"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"6266a12eac5af4c7e83263b1bc7f443b0390ae94df577c5c1a15b728000f8c0c"}},{"ruleId":"D1","level":"warning","message":{"text":"CompanionRoutesKt.companionRoutes (cyclomatic 17): CompanionRoutesKt.companionRoutes has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/CompanionRoutes.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7765816d9523861640fe8772064693aca77b79f78fb11df12022dfdf44244a06"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailRunnerRecordingService.gesture (cyclomatic 17): TrailRunnerRecordingService.gesture 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RecordRoutes.kt"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc7605b0f58c4a68b7b82aadd68e5677990cbe7600470003d1ad264e6d627f5"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeNodeSelectorResolver.matchesAndroidView (cyclomatic 17): TrailblazeNodeSelectorResolver.matchesAndroidView has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea5ac52ee0d4b533b215bc988827b966f18e4cf8300f3c51d8c7e92d743e48d"}},{"ruleId":"D1","level":"warning","message":{"text":"LlmTokenBreakdownEstimator.estimateBreakdown (cyclomatic 17): LlmTokenBreakdownEstimator.estimateBreakdown 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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/llm/LlmTokenBreakdownEstimator.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f71a438e5cf2ae2b91d918d7d199955370de95707b67c74a606fa0f29867d2"}},{"ruleId":"D1","level":"warning","message":{"text":"Walk.collect (cyclomatic 17): Walk.collect 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":"trailblaze-models/src/jvmMain/kotlin/xyz/block/trailblaze/codegen/SerialDescriptorTsCodegen.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccde58779dd0225ca18ae1685b1c3769aec22aa1460e6f824327765dde95e8a"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaywrightScreenState.handleHiddenElements (cyclomatic 17): PlaywrightScreenState.handleHiddenElements 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":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e786b551ba6aacdf9c1de227d82ed599bd495c291b41c9ae41d43706c767285"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaywrightTrailblazeAgent.mapToolToAgentDriverAction (cyclomatic 17): PlaywrightTrailblazeAgent.mapToolToAgentDriverAction has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"b415a06375b18b556850b906a40c04ba94e6d32a53fcbe291b916b71630cba3d"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeMcpServer.addToolsAsMcpToolsFromRegistry (cyclomatic 17): TrailblazeMcpServer.addToolsAsMcpToolsFromRegistry has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"a731e2cd4e48129efe765c76d78e0a891e84c942d8a4a6efa643a9fd0c1040da"}},{"ruleId":"D1","level":"warning","message":{"text":"DeviceManagerToolSet.connectAndReplaceSessionDevice (cyclomatic 17): DeviceManagerToolSet.connectAndReplaceSessionDevice has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccef9aae238891b63f8daf56db3b6fadad2de67875aa7e083d7cfc7ec899b331"}},{"ruleId":"D1","level":"warning","message":{"text":"resolver.matchesAndroidView (cyclomatic 17): resolver.matchesAndroidView has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"1817ea71150a723430525dd4edeecdee852b36a1e9eb9c6d12b34e4d06a094f8"}},{"ruleId":"D1","level":"warning","message":{"text":"stream.deriveRows (cyclomatic 17): stream.deriveRows has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 198, 188, 197). 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":"sdks/typescript/src/surveys/stream.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6b2d22d1ebc6e4fa47bd517eb6784c4f028b0ad04b077098c0f6586d0d5c30"}},{"ruleId":"D1","level":"warning","message":{"text":"stored.sessionInputs (cyclomatic 17): stored.sessionInputs has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function item inside it that branches (walk). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stored.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d803379ddabad1f8fc29f7967e3beea1f7b4be4e03d90c18a45778ad63d6f229"}},{"ruleId":"D1","level":"warning","message":{"text":"data-hooks.useExternalAgentEvents (cyclomatic 17): data-hooks.useExternalAgentEvents has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 531, 556, 540, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-hooks.tsx"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"339c95a97315baaa5bed0466fec3a8e5b839ebcd5634fa33f251fbf75d3beccd"}},{"ruleId":"D1","level":"warning","message":{"text":"live-device-stream.openLiveDeviceStream.startFallback (cyclomatic 17): live-device-stream.openLiveDeviceStream.startFallback 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d0763cbe06a710c1355a80b57100aeaf0c0da67f7ffbfdad4c8f4613358c9d"}},{"ruleId":"D1","level":"warning","message":{"text":"run-payload.fetchDerivedStreams (cyclomatic 17): run-payload.fetchDerivedStreams has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3764104cf715752ad475d243b0eb9c7fd3b2e58f183aefefc00cc98c738976"}},{"ruleId":"D1","level":"warning","message":{"text":"blaze.BlazeScreen::blaze (cyclomatic 17): blaze.BlazeScreen::blaze has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (blaze.BlazeScreen) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f4d6ffeb3c8aac59bd9f00cf39b5365d63773a49e22a0b78eba829977d7168"}},{"ruleId":"D1","level":"warning","message":{"text":"record.relevantTools (cyclomatic 17): record.relevantTools has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d074443fb604522475777a55a91131940420dd0d6e1a2ba9f6119a3b1ee9ff"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-detail.UnifiedStepsTable (cyclomatic 17): trail-detail.UnifiedStepsTable has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 206, 220, 196). 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11912655df18480da178b5f5ca07b04d802bc773020a24cecd0001f598445be"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-detail.TrailImplementationsBoard::saveSteps (cyclomatic 17): trail-detail.TrailImplementationsBoard::saveSteps has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (trail-detail.TrailImplementationsBoard) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ecf19b70a39c4539f7025ea1a3fadf9de6f6816b1be820cd58b67ab7cb18d7"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-yaml.normalizeScratchTrailYaml::fragmentToStep (cyclomatic 17): trail-yaml.normalizeScratchTrailYaml::fragmentToStep 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. This shape REPEATS in the file: 2 other methods here (trail-yaml.normalizeScratchTrailYaml, trail-yaml.normalizeScratchTrailYaml::legacyTrailheadToUnified) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c4e08c983980389c5fdff0d1d338f67fa5dfae4c213f4e6b7ad222878c3948"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-events.resolveFormatterModule (cyclomatic 17): run-report-events.resolveFormatterModule has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41598dc9cd61bc05b5bf778487a1f780487b311dd3b2f0015c8b9077513ae51"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary-model.eventDetail (cyclomatic 17): run-report-summary-model.eventDetail 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4558bd3e9a80cac32e4ef13a6b61a3fb5d79024ca286c7cf4fac4f980739c60"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary-model.rowNote (cyclomatic 17): run-report-summary-model.rowNote has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"063aac8385dc2fc63f6d4310f04a9a76d95dfea86c51b24921f15f261ffe0dce"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-theater-model.actionLabel (cyclomatic 17): run-report-theater-model.actionLabel has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"851d7c86aa8c34e500588c469d286bd6439887a50ded72f39bc5956369e69001"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-theater.mountTheater.paintScreens (cyclomatic 17): run-report-theater.mountTheater.paintScreens 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dab64fa12f647c73f5003e0cd813b762b5c780bdd1e8fd345e99bb36834360"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderCompareView::contentDiffBlock (cyclomatic 17): run-report-viewer.RUN_REPORT_VIEWER::renderCompareView::contentDiffBlock 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. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7744}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59863d3a6884f96757355956753581697b7d186f8dfab556ebb600600be9cf2"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::onInspectorClick (cyclomatic 17): run-report-viewer.RUN_REPORT_VIEWER::onInspectorClick 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. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9343}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2859e83c778017beb2fca56a3580708ed6bd39587a47b1e242ed2d1b420a11"}},{"ruleId":"D1","level":"warning","message":{"text":"openLiveDeviceStream.startFallback (cyclomatic 17): openLiveDeviceStream.startFallback 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac8539080e48a6885cc800206a323af080e27b0f665183d57662374717d0f6b"}},{"ruleId":"D1","level":"warning","message":{"text":"get (cyclomatic 17): get has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, 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":"sdks/typescript/tools/in-process-wrapper-template.mjs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd75da9d78d7c2d3ab9eb102e29154956c9a014778ecdd195dfe018f092fc741"}},{"ruleId":"D1","level":"warning","message":{"text":"KotlinSourceParser.stripAnnotationsAndWhitespace (cyclomatic 16): KotlinSourceParser.stripAnnotationsAndWhitespace has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: SelectorTsCodegen.mapKotlinTypeToTs (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/SelectorTsCodegen.kt"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffefbbe7c886f1bd4a139b13c5069017a1017e39a9232bae5181d4324f4c052e"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidTrailblazeRule.runSuspend (cyclomatic 16): AndroidTrailblazeRule.runSuspend 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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/AndroidTrailblazeRule.kt"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7ef4889048bb6b48c5ddbca2ea2a0d0652d8922ee99ceca87ea38738e0eab3"}},{"ruleId":"D1","level":"warning","message":{"text":"MaestroUiAutomatorXmlParser.mapXmlHierarchyToMaestroTreeNode (cyclomatic 16): MaestroUiAutomatorXmlParser.mapXmlHierarchyToMaestroTreeNode 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/android/MaestroUiAutomatorXmlParser.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99c88739b79a5f68ead2de3ee42f8d3cd6cf6fecc6aedf36f42ba9029eec51b"}},{"ruleId":"D1","level":"warning","message":{"text":"EventStreamScanner.backward (cyclomatic 16): EventStreamScanner.backward 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/events/EventStreamScanner.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c7716038a9b85e32c3e635419ec1010f5274e8d8474de4a124735e284dacac"}},{"ruleId":"D1","level":"warning","message":{"text":"SurveyBundles.exportsPlainValue (cyclomatic 16): SurveyBundles.exportsPlainValue 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/surveys/SurveyBundles.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa7620f242471a96b1f2183d2f7d2ffd3b660849bd08346223158c7b74f94de"}},{"ruleId":"D1","level":"warning","message":{"text":"ScrollUntilTextIsVisibleTrailblazeTool.scrollUntilVisibleWithStartPosition (cyclomatic 16): ScrollUntilTextIsVisibleTrailblazeTool.scrollUntilVisibleWithStartPosition has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: ScrollUntilTextIsVisibleTrailblazeTool.relativeScrollStartPoints (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/ScrollUntilTextIsVisibleTrailblazeTool.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6688e320917d8742ad3ed11c395b4266c2afb95ec5af075d85d0d9c5294646ef"}},{"ruleId":"D1","level":"warning","message":{"text":"CheckCommand.runTypecheckPhase (cyclomatic 16): CheckCommand.runTypecheckPhase 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CheckCommand.kt"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa76d0f3ab1be9cd006b88864b91cdae6f03ef6badbd07c47e688e815958c99d"}},{"ruleId":"D1","level":"warning","message":{"text":"SurveyCommand.call (cyclomatic 16): SurveyCommand.call 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SurveyCommand.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3918d635232b635f2b62190a7a76df98ad3f43c51fecc13455462fd1aba097c2"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolboxCommand.call (cyclomatic 16): ToolboxCommand.call 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolboxCommand.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4253e8fb5cb6a2b207e7d9c8b8320e402345383438c0b69de80b42926c945eac"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailmapUnitTestRunner.run (cyclomatic 16): TrailmapUnitTestRunner.run 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailmapUnitTestRunner.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7866d2ffdf998d585380b29dc394d91793ecd9ec7fff4443d5a92b0a59aa37"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeHostYamlRunner.executeTrailSession (cyclomatic 16): TrailblazeHostYamlRunner.executeTrailSession 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec8c73dfbdba7bc42cd4e3c8427c4d83f40b37162d366d72354f2dbf75d77f1"}},{"ruleId":"D1","level":"warning","message":{"text":"DaemonScriptedToolBundler.bundleOneInternal (cyclomatic 16): DaemonScriptedToolBundler.bundleOneInternal 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/DaemonScriptedToolBundler.kt"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"20395d3d26cbb90d9ca7cd748f8ff99a981573b9817dac3aaeb52fa387e9fe0d"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeElementSelectorKt.isBlank (cyclomatic 16): TrailblazeElementSelectorKt.isBlank 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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeElementSelector.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4724fbc67ea616f10b795661161dc34d7929490a7b27f7ddf7994e36e13a70c4"}},{"ruleId":"D1","level":"warning","message":{"text":"TrailblazeNodeSelectorGeneratorAndroidViewKt.androidViewStrategies (cyclomatic 16): TrailblazeNodeSelectorGeneratorAndroidViewKt.androidViewStrategies 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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidView.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c169b27e0014705882132d7c995e9339ba51ab8c4ea5ee7ea5847a3817d09e0e"}},{"ruleId":"D1","level":"warning","message":{"text":"AndroidViewHierarchyFilter.findVisibleViewHierarchyTreeNodes (cyclomatic 16): AndroidViewHierarchyFilter.findVisibleViewHierarchyTreeNodes 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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/AndroidViewHierarchyFilter.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d60494b1c387e5f95d137e0b6196b2d680056a9dc19b94cdc81715b1f8246f9"}},{"ruleId":"D1","level":"warning","message":{"text":"PlaywrightDeviceScreenStream.resolveClickTargetAt (cyclomatic 16): PlaywrightDeviceScreenStream.resolveClickTargetAt has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/recording/PlaywrightDeviceScreenStream.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ce8f47a4582d8064f5f45486f409a51e6b93cf772b9cf5f1567909348c0582"}},{"ruleId":"D1","level":"warning","message":{"text":"QuickJsToolHost.connect (cyclomatic 16): QuickJsToolHost.connect has cyclomatic complexity 16 (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":"trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolHost.kt"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fc844ad9f3f7b66c7170833f1a87dba54ce3243100de9c9ed77adccc74bb30"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerateTestResultsCliCommand.run (cyclomatic 16): GenerateTestResultsCliCommand.run 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":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5901597f847dd876ec4c3c859d3d54c488f5729476a77c90427afcbb9f82f70c"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigToolSet.handleSet (cyclomatic 16): ConfigToolSet.handleSet 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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ConfigToolSet.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b2f2d27911fc8db9b66894331d53018b479e38be66be6dbb787cab68db85df"}},{"ruleId":"D1","level":"warning","message":{"text":"resolver.matchesDriverDetail (cyclomatic 16): resolver.matchesDriverDetail has cyclomatic complexity 16 (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":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ba835998e0fae3aa6b2e00c1ef9bee9e55a1a7fa51827c52c9f05ee6ed1f29"}},{"ruleId":"D1","level":"warning","message":{"text":"LiveSessionReader.drainFiltered (cyclomatic 16): LiveSessionReader.drainFiltered has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, 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":"sdks/typescript/src/surveys/live.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"10da1bc96468487b382f494e40e2ca411d04d5642bec28fa36287c239fe2b400"}},{"ruleId":"D1","level":"warning","message":{"text":"waypoints.screensOf (cyclomatic 16): waypoints.screensOf has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/waypoints.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e04719254ae164b8f01d2a9587af1ba052572d46de9146c8bf2740766177b5a"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.selectTool (cyclomatic 16): index.html.selectTool has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/devices/index.html"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c08f3c56199b573dcb04522714a9dfbcf9353f48811e0d84d9cc0680acfa8ee"}},{"ruleId":"D1","level":"warning","message":{"text":"waypoint-graph-template.html.getNodeBox (cyclomatic 16): waypoint-graph-template.html.getNodeBox has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68079a455be33685eaf5a3c77795deb6e107390f34615fb286c21ff1e7f406c"}},{"ruleId":"D1","level":"warning","message":{"text":"editor.FileChangedOnDiskDialog (cyclomatic 16): editor.FileChangedOnDiskDialog has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 604, 594, 592). 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"e310de76bffb87e45e407b7fc8e093522f4608ed228dfc63c7bb5ff287c57e9b"}},{"ruleId":"D1","level":"warning","message":{"text":"companion.CompanionReviewAsk::send (cyclomatic 16): companion.CompanionReviewAsk::send has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (companion.CompanionReviewAsk) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c173ab1b62babfd77e8a5696e315f92b30bb5e9e9041183e6e878ad8508db562"}},{"ruleId":"D1","level":"warning","message":{"text":"demonstrate.DemoDescribeDialog (cyclomatic 16): demonstrate.DemoDescribeDialog 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 508, 519, 498). 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"20efb75fdc8cf7d173c129e1bc43940ddea21fa99d7e6afd6599a72e13eb3e99"}},{"ruleId":"D1","level":"warning","message":{"text":"devices.DeviceToggleRow (cyclomatic 16): devices.DeviceToggleRow 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eccbea85e2757ae937a99139fc2fa37bb3edc3b86c2634485030ea77845d770"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.AgentTrailOutputCard (cyclomatic 16): external-agents.AgentTrailOutputCard has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2318}}}],"partialFingerprints":{"codehealthFindingId/v1":"992db4f2749a410babb33518251f70d7458b78af5445ae151f6b1925b0627f40"}},{"ruleId":"D1","level":"warning","message":{"text":"external-agents.AgentRecordStage::onStagePointerUp (cyclomatic 16): external-agents.AgentRecordStage::onStagePointerUp has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (external-agents.AgentRecordStage) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2828}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ac35f058c8add638a12d2e8a682d47f9656effbe7b229edcfc77c005ab36e3"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-detail.TrailImplementationsBoard (cyclomatic 16): trail-detail.TrailImplementationsBoard has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (trail-detail.TrailImplementationsBoard::saveSteps) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4662efe74d711350b6a88aa60f6f587ae44ca98e1390a49912005531ca0f2c"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-model.removeLogicalLeg (cyclomatic 16): trail-model.removeLogicalLeg has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-model.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb453e24dd0c5e4c389338f2d3688f13688f5a72b972d90bb5b265d51386daf"}},{"ruleId":"D1","level":"warning","message":{"text":"trail-model.labelScalar (cyclomatic 16): trail-model.labelScalar 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-model.js"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f7a4e514046132e04b96ec3b174fbdeab04ba5a3b9bdc934731540f0002bf8"}},{"ruleId":"D1","level":"warning","message":{"text":"ui.listNavKeyDown (cyclomatic 16): ui.listNavKeyDown 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, 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"38130056eff92c362fcb3acbb8cdebae7faafc59a37a5900ee5274caf04bc51c"}},{"ruleId":"D1","level":"warning","message":{"text":"ui.OptionRow (cyclomatic 16): ui.OptionRow has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b5a623734d82716d04991d1ebc69f1d6164fda81ff9804c22dd98378d3a82e"}},{"ruleId":"D1","level":"warning","message":{"text":"report-live.html.tail (cyclomatic 16): report-live.html.tail has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 7 function items inside it that branch (a function literal at line 159, flush, a function literal at line 202, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/report-live.html"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55a405c9d9e2a0369c9d6d23a712c5eb8fcd06534268e0448aac3c0c5f56481"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-cli.readAttachments (cyclomatic 16): run-report-cli.readAttachments 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7b24a60ce7c149dba3f9c23536ac9acc2b6713e589c253f7996e985db225fd"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-payload.transcriptToolResultDisplay (cyclomatic 16): run-report-payload.transcriptToolResultDisplay 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed250fbea81a00eaa32e7d396579d739bc47c5f0af0da33e49ab1a7d57c10f0"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-extract.captureEndTs (cyclomatic 16): run-report-extract.captureEndTs 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cc088d2ecc7d63df3a36341d10fa26d93eb3b0595aa03a170c53d3c1f497e0"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-inspector.nodeLabel (cyclomatic 16): run-report-inspector.nodeLabel has cyclomatic complexity 16 (threshold 15). 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, 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-inspector.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"69410a07e4ad84c2e9246a22f7976359cf0645bb32e9c49d8ce2bdd993d99ccd"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary-model.firstBranch (cyclomatic 16): run-report-summary-model.firstBranch 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55c71a2eda7c6d9253508aa54953417ec47e07ed528425952d9ab6f82f273a5"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary-model.readArgsYaml (cyclomatic 16): run-report-summary-model.readArgsYaml has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (block). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66f6eb0d0ea0a03ea66ee3e527408908791bbd7e39398ddd925647d837040e6"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-theater-model.insetAt (cyclomatic 16): run-report-theater-model.insetAt has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0dd69a1eb5860c68fb5b35ec0cbbe1d0ba3ea2674907bbe9908a1bd00c3b9f"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-summary.mountSummary.showCard (cyclomatic 16): run-report-summary.mountSummary.showCard 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, 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8ff172b83b32b57414b262ab173e695f611183480d4c6f35b477baf67440e9"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::stepIcon (cyclomatic 16): run-report-viewer.RUN_REPORT_VIEWER::stepIcon has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2413}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2b52a4fd44c84eec9cf178ebaaf6410d55b559fe3c98d8080d137683bfba62"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderIndex::renderCell (cyclomatic 16): run-report-viewer.RUN_REPORT_VIEWER::renderIndex::renderCell has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":5472}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c6ee7df6cc9dcd8911c8ade8c5ff044f75beaf90f486bd773306739a93594c"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderTrailToolbar (cyclomatic 16): run-report-viewer.RUN_REPORT_VIEWER::renderTrailToolbar has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7228}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe5c7dd0a7327c826e59482b25a82933843ec08a12ac278bcf6c18dd1eafcdc"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderCompareView::streamInspector (cyclomatic 16): run-report-viewer.RUN_REPORT_VIEWER::renderCompareView::streamInspector has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7809}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b3c7b4773aedccab67634d9a63b2932b92f7fd3c00a4638b30585f02c27c0d"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderCompareView::eventSection::renderStepMode (cyclomatic 16): run-report-viewer.RUN_REPORT_VIEWER::renderCompareView::eventSection::renderStepMode has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7896}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfa57ed6a5e4cf51ea10d23f65166a2ce48235ac5c8369df161480ff0a8d2db"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::openShotFrame (cyclomatic 16): run-report-viewer.RUN_REPORT_VIEWER::openShotFrame has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8529}}}],"partialFingerprints":{"codehealthFindingId/v1":"e649e776b6e182b900b27b83ada81fb19a29ceb9b5871afd12935bb205f0c470"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::updateInspectorSuggestions (cyclomatic 16): run-report-viewer.RUN_REPORT_VIEWER::updateInspectorSuggestions has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9176}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60b19b79878733210c6fdbc30738f11c951cd165ba1fa54fe18dd14af1f2520"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::revealSelectedNode (cyclomatic 16): run-report-viewer.RUN_REPORT_VIEWER::revealSelectedNode has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 43 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 44 times rather than 44 independent problems. Splitting this body alone leaves the other 43 exactly as they are. Where these are variations on one operation, the change that clears all 44 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8838ddd84361e05756b0b53b37e3b868d463c19907c23475e978a836145f0ed"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-shell.analysisSubject (cyclomatic 16): run-report-shell.analysisSubject 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbc8c96eb49554f1a89d3b938de19bfec6d9cd92c25d1ca21bd71fd6182238a"}},{"ruleId":"D1","level":"warning","message":{"text":"run-report-shell.focusedProblemHtml (cyclomatic 16): run-report-shell.focusedProblemHtml has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8a7f6deccc33fb7100faaa7795215b21fe5ae752ba7893b86fd51bdbb186b0"}},{"ruleId":"D1","level":"warning","message":{"text":"zip-report-core.sessionObjectUrls (cyclomatic 16): zip-report-core.sessionObjectUrls has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 898, add, a function literal at line 902). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: zip-report-core.buildSessionInputsFromZipBytes (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"13aec11f46516bdc0c5c77709e60a9e063b2c9d6ad455abbad111a6eeb8c80f9"}},{"ruleId":"D1","level":"warning","message":{"text":"sessionVideoClips (cyclomatic 16): sessionVideoClips has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 10 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d0161c01fc44ec58a1b2e2af0dec373fff58de2720e6451e053fac6598fe02"}},{"ruleId":"D1","level":"warning","message":{"text":"mountLsp::build (cyclomatic 16): mountLsp::build 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4db8bf009a443024581b33108181fc5b95406e0664deb47aeb8e6e8959109cf"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::render (cognitive 549): run-report-viewer.RUN_REPORT_VIEWER::render has cognitive complexity 549 (threshold 15). Drivers by points: ternaries 72 (466 pts), boolean chains 52, if/else 22 (31 pts) (nesting depth added 403). 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. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8245}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5591bab959161411f610ae61f8a5be1a55011faee5ebc42f9da51b347c59e1"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.extractTrace (cognitive 309): run-report-extract.extractTrace has cognitive complexity 309 (threshold 15). Drivers by points: if/else 52 (149 pts), boolean chains 88, ternaries 28 (67 pts), loops 3 (5 pts) (nesting depth added 138). Of this number, 289 points are the body\u0027s own statements and 20 belong to 7 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe27b8fcc7f1b8f2d851063de25dec9d47b81edb5368c8b4ed15bcb8914dff8a"}},{"ruleId":"D2","level":"warning","message":{"text":"steps-board.StepsBoard (cognitive 300): steps-board.StepsBoard has cognitive complexity 300 (threshold 15). Drivers by points: boolean chains 129, ternaries 78 (117 pts), if/else 42 (50 pts), loops 2 (3 pts), error handling 1 (nesting depth added 48). Of this number, 36 points are the body\u0027s own statements and 264 belong to 66 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"e471a826392b830461b787181e7ccdb3ac22e0690ac3f53965d3a6dddf56e1fd"}},{"ruleId":"D2","level":"warning","message":{"text":"record.RecordScreen (cognitive 241): record.RecordScreen has cognitive complexity 241 (threshold 15). Drivers by points: ternaries 121 (264 pts), boolean chains 238, if/else 135 (151 pts), error handling 4 (5 pts), loops 1 (nesting depth added 160). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (record.RecordScreen::propose, record.RecordScreen::runAdhocYaml) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aecf40eb2299c231d4616e951b98afc0bf8aee8212471674385a45731c2c8d7"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary-model.buildSummaryModel (cognitive 176): run-report-summary-model.buildSummaryModel has cognitive complexity 176 (threshold 15). Drivers by points: ternaries 31 (78 pts), if/else 31 (61 pts), boolean chains 22, loops 11 (15 pts) (nesting depth added 81). Of this number, 157 points are the body\u0027s own statements and 19 belong to 10 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f355d784756d9155f3080250a1dfd93bf69dea952de8d56d67922848a66d37a"}},{"ruleId":"D2","level":"warning","message":{"text":"waypoint-graph-template.html.SubwayView (cognitive 167): waypoint-graph-template.html.SubwayView has cognitive complexity 167 (threshold 15). Drivers by points: if/else 79 (90 pts), boolean chains 45, ternaries 21 (28 pts), loops 3, error handling 1 (nesting depth added 18). Most of this is not in the body itself: 13 of the 167 points are its own statements and the rest belongs to 47 function items inside it that branch (a function literal at line 2510, a function literal at line 2400, a function literal at line 2243, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d462dc3cdf2db68589144bdb528b08df9b51c89f7702ac337f04562f1e3823"}},{"ruleId":"D2","level":"warning","message":{"text":"trails.TrailsScreen (cognitive 147): trails.TrailsScreen has cognitive complexity 147 (threshold 15). Drivers by points: boolean chains 90, if/else 29 (37 pts), ternaries 15, loops 2 (4 pts), error handling 1 (nesting depth added 10). Of this number, 54 points are the body\u0027s own statements and 93 belong to 32 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5badf9c7c7c3625a011d40d3649b96e077fee7985eed63537968bae4348b152b"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::routeParams (cognitive 132): run-report-viewer.RUN_REPORT_VIEWER::routeParams has cognitive complexity 132 (threshold 15). Drivers by points: if/else 37 (94 pts), ternaries 7 (23 pts), boolean chains 15 (nesting depth added 73). 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. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"677ae09e6e08b0634769e9c7b94f22eddf5ce76d3d613b919d0b1d4a36a8eaa9"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidVectorIconRasterizer.parseSvgPath (cognitive 125): AndroidVectorIconRasterizer.parseSvgPath has cognitive complexity 125 (threshold 15). Drivers by points: if/else 61 (119 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 59). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/AndroidVectorIconRasterizer.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"091c70c68b7ed2f67f54dbb0fec034bbfc2cd3ff96ca7145fe5e678133067559"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeRecordingGeneratorKt.generateRecordedTrailItems (cognitive 121): TrailblazeRecordingGeneratorKt.generateRecordedTrailItems has cognitive complexity 121 (threshold 15). Drivers by points: if/else 29 (75 pts), boolean chains 23, match/switch 5 (19 pts), loops 2 (4 pts) (nesting depth added 62). 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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailblazeRecordingGenerator.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f69a845a5d71d02f1cf620c685785152f4019a5560fe8d594064dab70953f55"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailCommand.runTrail (cognitive 117): TrailCommand.runTrail has cognitive complexity 117 (threshold 15). Drivers by points: if/else 48 (77 pts), boolean chains 15, loops 4 (11 pts), error handling 7 (9 pts), match/switch 4 (5 pts) (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7888caf998ed3e904e20337654f4ea16ea13ecac3bd5a02e42db9d097136aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ui.Select (cognitive 115): ui.Select has cognitive complexity 115 (threshold 15). Drivers by points: ternaries 32 (59 pts), boolean chains 33, if/else 20 (23 pts) (nesting depth added 30). Of this number, 28 points are the body\u0027s own statements and 87 belong to 26 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b279c34a584fd63b155f401150ec343979496a40aeaa44e6e44e4a821effc3"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::applyRoute (cognitive 114): run-report-viewer.RUN_REPORT_VIEWER::applyRoute has cognitive complexity 114 (threshold 15). Drivers by points: ternaries 18 (56 pts), if/else 22 (41 pts), boolean chains 17 (nesting depth added 57). 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. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2537c5c34eaab3a4512d4c70d185a771c4678d65b2b16c3b255e48627317b0"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions.SessionsScreen (cognitive 113): sessions.SessionsScreen has cognitive complexity 113 (threshold 15). Drivers by points: boolean chains 52, ternaries 20 (31 pts), if/else 25 (30 pts) (nesting depth added 16). Of this number, 53 points are the body\u0027s own statements and 60 belong to 17 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d2dfc3d015d46e7c05982487c53de9e211bdc7fbb447fa7dbcc2180d2ade33"}},{"ruleId":"D2","level":"warning","message":{"text":"StepToolSet.step (cognitive 101): StepToolSet.step has cognitive complexity 101 (threshold 15). Drivers by points: if/else 57 (79 pts), boolean chains 9, error handling 4 (9 pts), match/switch 2 (4 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1503513365a3a2ba90f376fe5e28b10bd22c6b96bf73b1d2bc06d870141f5d9"}},{"ruleId":"D2","level":"warning","message":{"text":"IosCompactElementList.buildRecursive (cognitive 98): IosCompactElementList.buildRecursive has cognitive complexity 98 (threshold 15). Drivers by points: if/else 35 (59 pts), boolean chains 24, loops 6 (15 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/IosCompactElementList.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde703e766ef7725d99b34127b0761787300c0d0c45b0ca7c69b64ffb96d9bbf"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-theater-model.buildTheaterStory (cognitive 97): run-report-theater-model.buildTheaterStory has cognitive complexity 97 (threshold 15). Drivers by points: boolean chains 45, ternaries 17 (25 pts), if/else 14 (20 pts), loops 6 (7 pts) (nesting depth added 15). Of this number, 45 points are the body\u0027s own statements and 52 belong to 8 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa2be192eb04118cbfa24366b00cd547dee1cbf00dab406447caa0093837c79"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderTimeline (cognitive 97): run-report-viewer.RUN_REPORT_VIEWER::renderTimeline has cognitive complexity 97 (threshold 15). Drivers by points: ternaries 38 (76 pts), boolean chains 18, if/else 3 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3622}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8647c7e2c9511e3bb53fefa8c041df50bca51075f7e65aa3fb4d0abdee8739"}},{"ruleId":"D2","level":"warning","message":{"text":"record.TrailheadStep (cognitive 95): record.TrailheadStep has cognitive complexity 95 (threshold 15). Drivers by points: ternaries 27 (55 pts), boolean chains 39, if/else 1 (nesting depth added 28). Of this number, 84 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"b121e13c23861ad82b6b1d7ab5fbb2af443d97128302f01b7f3df892af07b207"}},{"ruleId":"D2","level":"warning","message":{"text":"devices.EditTargetModal (cognitive 93): devices.EditTargetModal has cognitive complexity 93 (threshold 15). Drivers by points: boolean chains 52, ternaries 14 (20 pts), if/else 17 (19 pts), error handling 1 (2 pts) (nesting depth added 9). Of this number, 30 points are the body\u0027s own statements and 63 belong to 21 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee207a090287f8fcc0da24cd34686fde7e02c8b7494bb4ab6b73a4b383d38af6"}},{"ruleId":"D2","level":"warning","message":{"text":"shell.App (cognitive 92): shell.App has cognitive complexity 92 (threshold 15). Drivers by points: boolean chains 48, if/else 19 (22 pts), ternaries 14 (22 pts) (nesting depth added 11). Of this number, 31 points are the body\u0027s own statements and 61 belong to 14 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9b80e078a449bdd461480ad3255e259ea1a0bec9b2e7065dadd6d300dd719d"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderCompareView (cognitive 91): run-report-viewer.RUN_REPORT_VIEWER::renderCompareView has cognitive complexity 91 (threshold 15). Drivers by points: ternaries 34 (64 pts), boolean chains 22, if/else 4 (5 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7482}}}],"partialFingerprints":{"codehealthFindingId/v1":"a135233ed320c24863a95b848f8cf990d8526fc8636958a3da8db96b7f107daa"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopYamlRunner.runYaml (cognitive 90): DesktopYamlRunner.runYaml has cognitive complexity 90 (threshold 15). Drivers by points: if/else 45 (55 pts), boolean chains 21, error handling 7 (9 pts), match/switch 4 (5 pts) (nesting depth added 13). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/yaml/DesktopYamlRunner.kt"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8266ac93ad477f6ccfd6df0131e536ab985d9bd58f43e5a48f99e89838410f"}},{"ruleId":"D2","level":"warning","message":{"text":"record.ProposalCard (cognitive 88): record.ProposalCard has cognitive complexity 88 (threshold 15). Drivers by points: boolean chains 44, ternaries 23 (31 pts), if/else 12 (13 pts) (nesting depth added 9). Of this number, 38 points are the body\u0027s own statements and 50 belong to 20 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c580fbbdddfc19826a82c5d34d3e777d221759a1f761559b440af034b6e240e9"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidCompactElementList.buildRecursive (cognitive 85): AndroidCompactElementList.buildRecursive has cognitive complexity 85 (threshold 15). Drivers by points: if/else 35 (55 pts), loops 6 (14 pts), boolean chains 12, match/switch 2 (4 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"6273eacb414ef769de3967e1ea80e06c32289539e6bd6bc850940a9e188d1687"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.ToolsScreen (cognitive 83): tools.ToolsScreen has cognitive complexity 83 (threshold 15). Drivers by points: boolean chains 55, ternaries 14 (17 pts), if/else 11 (nesting depth added 3). Of this number, 33 points are the body\u0027s own statements and 50 belong to 19 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91297b45265552d1c916b1ccbd66e88267a44c8d17e6da5369991abedf8e8f7"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-strings.stringsTabHtml (cognitive 83): run-report-strings.stringsTabHtml has cognitive complexity 83 (threshold 15). Drivers by points: ternaries 34 (51 pts), boolean chains 19, if/else 8 (13 pts) (nesting depth added 22). Of this number, 53 points are the body\u0027s own statements and 30 belong to 16 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-strings.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe238b70e8c07f97a2b096b0320ab9063e9f04894e32f156aa01d2951287152"}},{"ruleId":"D2","level":"warning","message":{"text":"editor.TrailYamlEditor (cognitive 81): editor.TrailYamlEditor has cognitive complexity 81 (threshold 15). Drivers by points: boolean chains 32, ternaries 17 (29 pts), if/else 16 (20 pts) (nesting depth added 16). Of this number, 47 points are the body\u0027s own statements and 34 belong to 14 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"add3b71ec75764afd7430014d8e61f93f78fb1f226e914c1d6cd2a14ed278df5"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-theater.mountTheater (cognitive 81): run-report-theater.mountTheater has cognitive complexity 81 (threshold 15). Drivers by points: if/else 34 (41 pts), boolean chains 20, ternaries 13 (17 pts), loops 2, error handling 1 (nesting depth added 11). Of this number, 27 points are the body\u0027s own statements and 54 belong to 11 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e2f304ba4697ee1f6b3ee97b11a7f2debd0ead3de04a2480b141502e54030a"}},{"ruleId":"D2","level":"warning","message":{"text":"runconfig.RunConfigDialog (cognitive 80): runconfig.RunConfigDialog has cognitive complexity 80 (threshold 15). Drivers by points: boolean chains 93, if/else 44 (54 pts), ternaries 35 (44 pts), error handling 2 (nesting depth added 19). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (runconfig.RunConfigDialog::run) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea0640443e886a98dfb2e82cabb1e027bf19ab59b027b2d1dcf8a3810cefaef"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeMcpBridgeImpl.selectDevice (cognitive 74): TrailblazeMcpBridgeImpl.selectDevice has cognitive complexity 74 (threshold 15). Drivers by points: if/else 23 (51 pts), error handling 2 (10 pts), boolean chains 8, match/switch 1 (5 pts) (nesting depth added 40). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38dfbcb9e5508a003c8f10e9600941cc23ba3fbb915705be0cdd5c397b623ca"}},{"ruleId":"D2","level":"warning","message":{"text":"demonstrate.DemonstrateFlow (cognitive 74): demonstrate.DemonstrateFlow has cognitive complexity 74 (threshold 15). Drivers by points: boolean chains 44, if/else 20, ternaries 6 (10 pts) (nesting depth added 4). Of this number, 25 points are the body\u0027s own statements and 49 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9e7e5723d9363d6cb1e731cb1564a03ee2afa9e24da2edf47e0bb2b6bc9ed5"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.slimTraceForShare (cognitive 74): run-report-extract.slimTraceForShare has cognitive complexity 74 (threshold 15). Drivers by points: ternaries 33 (49 pts), boolean chains 25 (nesting depth added 16). Most of this is not in the body itself: 1 of the 74 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 1640, 1681, 1650, \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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"517948629e6e1c6ae9eb3cbe5e58777d93758d9ff5f5dfada4ff541b1bcb2c9f"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-perfetto.buildPerfettoTrace (cognitive 74): run-report-perfetto.buildPerfettoTrace has cognitive complexity 74 (threshold 15). Drivers by points: if/else 11 (23 pts), ternaries 8 (20 pts), boolean chains 16, loops 8 (15 pts) (nesting depth added 31). None of this is in the body itself: all 74 points belong to 6 function literals inside it that branch (lines 239, 325, 296, \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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-perfetto.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f62eea20c10cb61fdb1031ddf655545324e7e318bcce807c8b8126b2614f04"}},{"ruleId":"D2","level":"warning","message":{"text":"perf-extract.nestAndAccount (cognitive 70): perf-extract.nestAndAccount has cognitive complexity 70 (threshold 15). Drivers by points: if/else 18 (33 pts), loops 16 (21 pts), boolean chains 13, ternaries 2 (3 pts) (nesting depth added 21). Of this number, 49 points are the body\u0027s own statements and 21 belong to 10 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab880bf9fcf777d5b5bf9c8f9dc610314c6a871bba8263a7c27014f5249ee548"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::stepRowHtml (cognitive 70): run-report-viewer.RUN_REPORT_VIEWER::stepRowHtml has cognitive complexity 70 (threshold 15). Drivers by points: ternaries 42 (57 pts), boolean chains 12, if/else 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3547}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c358bc99e8eed06e3fd056e62d0c3b5724df667a045333b26cc9b935a5e0c7"}},{"ruleId":"D2","level":"warning","message":{"text":"monaco-lsp.mountLsp (cognitive 68): monaco-lsp.mountLsp has cognitive complexity 68 (threshold 15). Drivers by points: boolean chains 26, if/else 19 (23 pts), ternaries 15 (19 pts) (nesting depth added 8). Most of this is not in the body itself: 2 of the 68 points are its own statements and the rest belongs to 20 function items inside it that branch (build, a function literal at line 666, a function literal at line 505, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"49224cd8223a8f76fb78474f42fcf776dc1d9e9b6ef16b3a6d774ef4d8cfb80c"}},{"ruleId":"D2","level":"warning","message":{"text":"ui.SearchableText (cognitive 68): ui.SearchableText has cognitive complexity 68 (threshold 15). Drivers by points: if/else 29 (35 pts), boolean chains 16, ternaries 6 (11 pts), error handling 3, loops 3 (nesting depth added 11). Most of this is not in the body itself: 9 of the 68 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 627, a function literal at line 582, a function literal at line 573, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec8808c4c545ea47653a98d4df118df08dbeeb9edb1a8bdb7a9bfda908b31ea"}},{"ruleId":"D2","level":"warning","message":{"text":"tool.registerPendingTools (cognitive 67): tool.registerPendingTools has cognitive complexity 67 (threshold 15). Drivers by points: if/else 9 (27 pts), ternaries 5 (17 pts), error handling 5 (16 pts), boolean chains 6, loops 1 (nesting depth added 41). Most of this is not in the body itself: 10 of the 67 points are its own statements and the rest belongs to one function literal inside it that branches (line 525). 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":"sdks/typescript/src/tool.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bf86d216e775f4cb3c2b6fe39dfac8d4c27ddd80b7ac9c3f4faa22cc9328f3"}},{"ruleId":"D2","level":"warning","message":{"text":"trail-detail.TrailImplementationsBoard (cognitive 67): trail-detail.TrailImplementationsBoard has cognitive complexity 67 (threshold 15). Drivers by points: boolean chains 41, if/else 17 (18 pts), ternaries 6 (7 pts), loops 1 (nesting depth added 2). Most of this is not in the body itself: 13 of the 67 points are its own statements and the rest belongs to 19 function items inside it that branch (saveSteps, a function literal at line 840, dispatchPlay, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1564fb3a0ef12501779b422b680319579d6f73145e90b9e4528d7165888efcf"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-trail-replay.buildReplayMemorySeries (cognitive 67): run-report-trail-replay.buildReplayMemorySeries has cognitive complexity 67 (threshold 15). Drivers by points: if/else 17 (34 pts), ternaries 10 (19 pts), boolean chains 9, loops 4 (5 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ce5e9e8553f42e2dd6bf83340372b0ea0f053155ade451523c6697f2b7d947"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::onKeydown (cognitive 67): run-report-viewer.RUN_REPORT_VIEWER::onKeydown has cognitive complexity 67 (threshold 15). Drivers by points: if/else 30 (49 pts), boolean chains 18 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11041}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfada00f9f0bc8bae0e5a7ae3e51b6f9ee0d4eca4e8e864b0bb0e8ca8857b64"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeAccessibilityService.awaitTreeStable (cognitive 66): TrailblazeAccessibilityService.awaitTreeStable has cognitive complexity 66 (threshold 15). Drivers by points: if/else 26 (55 pts), boolean chains 5, loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac98f042c8a8336946a6edc680d22936d849c16365e0712e8eeb0abf5c86db3"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.runSurveys (cognitive 66): runner.runSurveys has cognitive complexity 66 (threshold 15). Drivers by points: if/else 13 (33 pts), ternaries 8 (15 pts), loops 5 (8 pts), boolean chains 5, error handling 2 (5 pts) (nesting depth added 33). Of this number, 62 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/runner.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04151d267e8e12ffc29598c4a74a75b2782775a22b99ca0fed14e6c4cf64d74"}},{"ruleId":"D2","level":"warning","message":{"text":"stream-write.writeDerivedStreams (cognitive 66): stream-write.writeDerivedStreams has cognitive complexity 66 (threshold 15). Drivers by points: if/else 21 (39 pts), error handling 6 (13 pts), boolean chains 6, ternaries 3 (6 pts), loops 2 (nesting depth added 28). Most of this is not in the body itself: 11 of the 66 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 145, 149, 152, \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":"sdks/typescript/src/surveys/stream-write.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bcd0447f87c399ceb6d58f609b6c2a8462bd001e96c581c094addeb38fe5e6"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAgentRoutesKt.externalAgentRoutes (cognitive 65): ExternalAgentRoutesKt.externalAgentRoutes has cognitive complexity 65 (threshold 15). Drivers by points: if/else 51 (53 pts), boolean chains 8, match/switch 2, error handling 1, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExternalAgentRoutes.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e2b761459a04f37631cc435ecd00930b0add536a11651afc2b1a05253428d4"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceManagerToolSet.device (cognitive 65): DeviceManagerToolSet.device has cognitive complexity 65 (threshold 15). Drivers by points: if/else 18 (37 pts), error handling 4 (13 pts), match/switch 6 (12 pts), boolean chains 3 (nesting depth added 34). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ead5bdb202d1b619f4d4ac20876195d0a7d7e4f2c328222090d5a83c2ee64c6"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-clip-player.adopt (cognitive 65): run-report-clip-player.adopt has cognitive complexity 65 (threshold 15). Drivers by points: if/else 26 (32 pts), boolean chains 18, ternaries 8 (9 pts), error handling 3 (5 pts), loops 1 (nesting depth added 9). Most of this is not in the body itself: 1 of the 65 points is its own statement and the rest belongs to 20 function literals inside it that branch (lines 345, 435, 390, \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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a23a36c2c0abf63cfd02c77b2230c50d3e77e94c8fe9134e94571bf9ff796e"}},{"ruleId":"D2","level":"warning","message":{"text":"cli-main.runSurveyCli (cognitive 64): cli-main.runSurveyCli has cognitive complexity 64 (threshold 15). Drivers by points: if/else 24 (33 pts), loops 7 (12 pts), ternaries 7 (10 pts), boolean chains 7, error handling 1, match/switch 1 (nesting depth added 17). Of this number, 63 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/cli-main.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed37584a540f4309a70eb5483bcc650edcc7ac5a07fbd5e3c57e2687850fdc8"}},{"ruleId":"D2","level":"warning","message":{"text":"demonstrate.DemoGeneratePhase (cognitive 64): demonstrate.DemoGeneratePhase has cognitive complexity 64 (threshold 15). Drivers by points: boolean chains 39, ternaries 14 (19 pts), if/else 6 (nesting depth added 5). Of this number, 42 points are the body\u0027s own statements and 22 belong to 10 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d284330aff611009bd9995f8c2ce25af61f2394668f37b1f99023f2b34839c"}},{"ruleId":"D2","level":"warning","message":{"text":"trace-viewer.TraceViewer (cognitive 64): trace-viewer.TraceViewer has cognitive complexity 64 (threshold 15). Drivers by points: boolean chains 39, if/else 14 (15 pts), ternaries 10 (nesting depth added 1). Of this number, 40 points are the body\u0027s own statements and 24 belong to 11 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5a5220ede0cd1f2a60c66a1d36a96d635c98f108f701318bfa2facfdc53c00"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER (cognitive 64): run-report-viewer.RUN_REPORT_VIEWER has cognitive complexity 64 (threshold 15). Drivers by points: ternaries 1173 (2098 pts), boolean chains 1615, if/else 1155 (1522 pts), loops 60 (75 pts), error handling 34 (46 pts) (nesting depth added 1319). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, run-report-viewer.RUN_REPORT_VIEWER::readRoute, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a80a5de8247cd8b25f884debcb37c60c721ec964e3e01bed9a3e84c3e9a090f"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::playTimeline::paintAt (cognitive 63): run-report-viewer.RUN_REPORT_VIEWER::playTimeline::paintAt has cognitive complexity 63 (threshold 15). Drivers by points: if/else 20 (50 pts), boolean chains 11, ternaries 1 (2 pts) (nesting depth added 31). 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. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9945}}}],"partialFingerprints":{"codehealthFindingId/v1":"700321e15f03ed4cab4d16f2cd166d4755fcaa5675f364a65d63ff9978ad977e"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedTrailAdapter.mergeRecordedClassifier (cognitive 62): UnifiedTrailAdapter.mergeRecordedClassifier has cognitive complexity 62 (threshold 15). Drivers by points: if/else 33 (50 pts), boolean chains 11, match/switch 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":"trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailAdapter.kt"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc775e844f8646322d4db5628aea2563aaf17ce36765bf310e5dcc08cda45374"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.AgentComposer (cognitive 62): external-agents.AgentComposer has cognitive complexity 62 (threshold 15). Drivers by points: boolean chains 63, ternaries 21 (41 pts), if/else 26 (30 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (external-agents.AgentComposer::send) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"f464f683c4267ee0ce817fa5aa006ef076f50daee06000eba95a861b3771475f"}},{"ruleId":"D2","level":"warning","message":{"text":"waypoint-graph-template.html.App (cognitive 61): waypoint-graph-template.html.App has cognitive complexity 61 (threshold 15). Drivers by points: ternaries 21 (33 pts), boolean chains 19, if/else 8 (9 pts) (nesting depth added 13). Of this number, 30 points are the body\u0027s own statements and 31 belong to 14 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ac74bbf6f8d210d2a7bb47b9fca066dd7eebd90e7472fa5ca0349682472d5a"}},{"ruleId":"D2","level":"warning","message":{"text":"trail-tree.TrailTree::onTreeKeyDown (cognitive 61): trail-tree.TrailTree::onTreeKeyDown has cognitive complexity 61 (threshold 15). Drivers by points: if/else 22 (42 pts), boolean chains 12, ternaries 3 (7 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (trail-tree.TrailTree) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff7c811305a672f95d99f93716beb9f2df0804843dbba1e40830a85bd090f13"}},{"ruleId":"D2","level":"warning","message":{"text":"editor.CodeEditor (cognitive 60): editor.CodeEditor has cognitive complexity 60 (threshold 15). Drivers by points: if/else 21 (25 pts), boolean chains 23, ternaries 6 (7 pts), error handling 1 (3 pts), loops 2 (nesting depth added 7). Most of this is not in the body itself: 5 of the 60 points are its own statements and the rest belongs to 19 function literals inside it that branch (lines 27, 152, 43, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc57cd14f10c91f69f8d245e4056b67a36b98242b1563684fab84b699b8ef7a"}},{"ruleId":"D2","level":"warning","message":{"text":"device-console.DeviceConsoleScreen (cognitive 60): device-console.DeviceConsoleScreen has cognitive complexity 60 (threshold 15). Drivers by points: boolean chains 32, if/else 17 (18 pts), ternaries 6 (7 pts), error handling 3 (nesting depth added 2). Of this number, 16 points are the body\u0027s own statements and 44 belong to 21 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0984cd3adbaa7b7c05d0f2ad1cb823f9c95377eab98cf1ec567499bfd911bd41"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::wire (cognitive 59): run-report-viewer.RUN_REPORT_VIEWER::wire has cognitive complexity 59 (threshold 15). Drivers by points: if/else 34 (35 pts), boolean chains 23, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":10132}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fc1377ff2ff1b2f59a345f226a8c2fb1621a7c10b27a39293276a9705c65d7"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionEventsHostFunctions.query (cognitive 58): SessionEventsHostFunctions.query has cognitive complexity 58 (threshold 15). Drivers by points: if/else 21 (39 pts), boolean chains 9, loops 2 (5 pts), match/switch 2 (4 pts), error handling 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/events/SessionEventsHostFunctions.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc38c9ecba2c4ef1efb2071c9e7fb6187eff6e26e170c011de61c047953242f"}},{"ruleId":"D2","level":"warning","message":{"text":"device-console.DeviceConsoleCard (cognitive 58): device-console.DeviceConsoleCard has cognitive complexity 58 (threshold 15). Drivers by points: boolean chains 23, ternaries 16 (19 pts), if/else 15, error handling 1 (nesting depth added 3). Of this number, 36 points are the body\u0027s own statements and 22 belong to 13 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b600e021c14fb099c1eb5db19ad408238858baad68375f8b10433d7ad56676a"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.extractLlmLogs (cognitive 58): run-report-extract.extractLlmLogs has cognitive complexity 58 (threshold 15). Drivers by points: boolean chains 24, if/else 9 (16 pts), ternaries 6 (16 pts), loops 2 (nesting depth added 17). Of this number, 43 points are the body\u0027s own statements and 15 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d4ea680d85f39a1063727118b84bae82541e5294c3583d317f4838ba6bfb77"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.SettingsScreen (cognitive 57): settings.SettingsScreen has cognitive complexity 57 (threshold 15). Drivers by points: boolean chains 24, if/else 13 (17 pts), ternaries 14 (15 pts), error handling 1 (nesting depth added 5). Most of this is not in the body itself: 10 of the 57 points are its own statements and the rest belongs to 12 function items inside it that branch (pickDir, WorkspaceBody, PortSetting, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc4c7b0fbfc6617d11e3f33030ca688e4b1fbbef9768aceacc9ea2512f34ddc"}},{"ruleId":"D2","level":"warning","message":{"text":"zip-report-core.buildRunMeta (cognitive 57): zip-report-core.buildRunMeta has cognitive complexity 57 (threshold 15). Drivers by points: boolean chains 27, if/else 20 (23 pts), ternaries 4 (7 pts) (nesting depth added 6). Of this number, 55 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa16f67f65c29b7e942aa8a690ed4afb3f1e441012a89fb4e26c4738c3cfd0c"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeScratchTrailYaml (cognitive 57): normalizeScratchTrailYaml has cognitive complexity 57 (threshold 15). Drivers by points: if/else 47 (84 pts), boolean chains 46, ternaries 13 (32 pts), error handling 2 (nesting depth added 56). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"639e4dc226c4ea656b98f65a1926be0fd4851b632d9c0a742c66d044f9f857c7"}},{"ruleId":"D2","level":"warning","message":{"text":"ReportCommandKt.generateSessionReport (cognitive 56): ReportCommandKt.generateSessionReport has cognitive complexity 56 (threshold 15). Drivers by points: if/else 29 (35 pts), error handling 7 (16 pts), boolean chains 4, match/switch 1 (nesting depth added 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ReportCommand.kt"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de8af823e34372c1522f814c9e851d7bed1d102f52ebc16e92bc4b6bb0513e0"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailTscValidator.attributeRecordedCalls (cognitive 56): TrailTscValidator.attributeRecordedCalls has cognitive complexity 56 (threshold 15). Drivers by points: if/else 12 (38 pts), match/switch 3 (9 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailTscValidator.kt"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"d355f37781468b6a15f68d77c1ad65e212a7e6443759b58f9120cc1b17ab4cb7"}},{"ruleId":"D2","level":"warning","message":{"text":"runconfig.RunConfigDialog::run (cognitive 56): runconfig.RunConfigDialog::run has cognitive complexity 56 (threshold 15). Drivers by points: if/else 23 (32 pts), boolean chains 12, ternaries 7 (11 pts), error handling 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. This shape REPEATS in the file: one other method here (runconfig.RunConfigDialog) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"561f3e9278a6bb0fbd9259478bfcf1867a80eb060ba136c7a97d5cc8e7982cd7"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.AgentToolCard (cognitive 56): external-agents.AgentToolCard has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 17 (32 pts), boolean chains 24 (nesting depth added 15). Of this number, 55 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d757d5d59bc35517c05cb27b0cf08bd8fdc735a54683495481af7b49a50bc554"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.decisionLlmRow (cognitive 55): run-report-extract.decisionLlmRow has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 22 (24 pts), boolean chains 23, if/else 8 (nesting depth added 2). Of this number, 26 points are the body\u0027s own statements and 29 belong to 8 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"128d99b255595d8189f8d7febbcb0edc6959adf086732e9c5d00c32f86c2d301"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailCommand.delegateToDaemon (cognitive 54): TrailCommand.delegateToDaemon has cognitive complexity 54 (threshold 15). Drivers by points: if/else 21 (43 pts), loops 2 (4 pts), boolean chains 3, match/switch 2 (3 pts), error handling 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"328b184e015c8765c185f015add21c21f94a4d0a4647ea568f1f7631420a6cb5"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-strings.buildStringsModel (cognitive 54): run-report-strings.buildStringsModel has cognitive complexity 54 (threshold 15). Drivers by points: boolean chains 26, if/else 11 (21 pts), loops 4, ternaries 3 (nesting depth added 10). Most of this is not in the body itself: 8 of the 54 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 139, a function literal at line 195, shotFor, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-strings.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f88404e229173655c28fed8ade4f61366702a871a37283649240291d46e97a"}},{"ruleId":"D2","level":"warning","message":{"text":"DaemonClient.runAsync (cognitive 53): DaemonClient.runAsync has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (35 pts), error handling 4 (12 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 28). 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DaemonClient.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6472ac815e2c42def52f74a0fe656bf3f39f4d8f4edc5655483bcbe88a00f18"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeNodeSelectorGeneratorAndroidAccessibilityKt.androidAccessibilityStrategies (cognitive 53): TrailblazeNodeSelectorGeneratorAndroidAccessibilityKt.androidAccessibilityStrategies has cognitive complexity 53 (threshold 15). Drivers by points: if/else 38 (39 pts), boolean chains 14 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c257fed2b5109c9e3de5a8b06d93bbceb943740bc979cc53341c73b528105f10"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary.mountSummary (cognitive 53): run-report-summary.mountSummary has cognitive complexity 53 (threshold 15). Drivers by points: if/else 19 (26 pts), ternaries 13 (20 pts), boolean chains 7 (nesting depth added 14). Of this number, 37 points are the body\u0027s own statements and 16 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1953be633745188a900e09b90eb30278fe680871a16a2cd0540fe2dbe08b18d"}},{"ruleId":"D2","level":"warning","message":{"text":"home.ReadinessPanel (cognitive 52): home.ReadinessPanel has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 24 (38 pts), boolean chains 13, if/else 1 (nesting depth added 14). Of this number, 44 points are the body\u0027s own statements and 8 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/home.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7760c3c76baf520cd176dc64aa4db184609c934a106cbbb16170068d859333a"}},{"ruleId":"D2","level":"warning","message":{"text":"record.StepCard (cognitive 52): record.StepCard has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 16 (31 pts), boolean chains 17, if/else 3, error handling 1 (nesting depth added 15). Of this number, 36 points are the body\u0027s own statements and 16 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"33535039134634e1ad636c44c1c918f3d4dbb5e9a0574dabdb75e03265e01bce"}},{"ruleId":"D2","level":"warning","message":{"text":"trailmaps.ComponentRunTab (cognitive 52): trailmaps.ComponentRunTab has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 17 (36 pts), boolean chains 13, if/else 3 (nesting depth added 19). Of this number, 44 points are the body\u0027s own statements and 8 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7cfe12abe972cd0ef29454c63e1b9b33cb66af7cc8bc9efdfacdc3175ca5d6a"}},{"ruleId":"D2","level":"warning","message":{"text":"McpProxy.forwardRequest (cognitive 51): McpProxy.forwardRequest has cognitive complexity 51 (threshold 15). Drivers by points: if/else 17 (45 pts), error handling 3 (5 pts), loops 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/McpProxy.kt"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e70e54c8b44e0ca3ad56189c224b729ac0d4c0763270c3a7395103b0a8b092d"}},{"ruleId":"D2","level":"warning","message":{"text":"devices.TargetDevicePicker (cognitive 51): devices.TargetDevicePicker has cognitive complexity 51 (threshold 15). Drivers by points: boolean chains 36, if/else 7 (8 pts), ternaries 7 (nesting depth added 1). Of this number, 24 points are the body\u0027s own statements and 27 belong to 11 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3cb5da66dfc1e4303dabca291bcb5da545b2a3e7415aa73d7d0e94bcbcfd7c3"}},{"ruleId":"D2","level":"warning","message":{"text":"perf-viewer.PERF_VIEWER::drawBlock (cognitive 51): perf-viewer.PERF_VIEWER::drawBlock has cognitive complexity 51 (threshold 15). Drivers by points: if/else 9 (27 pts), ternaries 3 (9 pts), boolean chains 8, loops 3 (7 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (perf-viewer.PERF_VIEWER, perf-viewer.PERF_VIEWER::renderInspector) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26c31f43b1e35895af703db86cb0cf7ff85d5d55f3ebd79b46ac35e07fa917e"}},{"ruleId":"D2","level":"warning","message":{"text":"CliMcpClient.connectReusable (cognitive 50): CliMcpClient.connectReusable has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (33 pts), error handling 6 (12 pts), boolean chains 5 (nesting depth added 25). 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"27253e4b2c361fbeb238c62d42c95bff563844005ceca9d9808c34295d685a2d"}},{"ruleId":"D2","level":"warning","message":{"text":"runnableSteps (cognitive 50): runnableSteps has cognitive complexity 50 (threshold 15). Drivers by points: if/else 11 (26 pts), ternaries 7 (16 pts), boolean chains 5, error handling 1 (2 pts), loops 1 (nesting depth added 25). Of this number, 41 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc2965cf1db367a1ec576ae45ebf35033e0899850697426d6a13a01ed869c44"}},{"ruleId":"D2","level":"warning","message":{"text":"trailmaps.ComponentTypeScreen (cognitive 49): trailmaps.ComponentTypeScreen has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 39, if/else 5, ternaries 5. Of this number, 24 points are the body\u0027s own statements and 25 belong to 12 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdaf6ae08159938822ede2c2b05fb82dea09ec6aaed8e5469d26347f7bf6fd8"}},{"ruleId":"D2","level":"warning","message":{"text":"shell.TargetPicker (cognitive 49): shell.TargetPicker has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 18 (32 pts), boolean chains 13, if/else 3 (4 pts) (nesting depth added 15). Of this number, 37 points are the body\u0027s own statements and 12 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"79aeed4d2c5ffb3c78abdcfc18741ca36b96ca4a0964cfe8d068db0586f7ab8c"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary-model.screenTexts (cognitive 49): run-report-summary-model.screenTexts has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 8 (18 pts), if/else 7 (16 pts), boolean chains 10, loops 4 (5 pts) (nesting depth added 20). Of this number, 37 points are the body\u0027s own statements and 12 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"91da00337b47908204ce148f3bbf9e7c6c06397665d4e04c621ebd59b1ada68e"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::txCallContext (cognitive 49): run-report-viewer.RUN_REPORT_VIEWER::txCallContext has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 20 (29 pts), boolean chains 20 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3902}}}],"partialFingerprints":{"codehealthFindingId/v1":"686d1d85c5372ba09e865c7ead8b7201dd5d414fee152a74709365ab04cc7246"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::wireTrailReplay::paintLane (cognitive 49): run-report-viewer.RUN_REPORT_VIEWER::wireTrailReplay::paintLane has cognitive complexity 49 (threshold 15). Drivers by points: if/else 20 (32 pts), ternaries 7 (10 pts), boolean chains 7 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":6723}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af1917eab0235c40d611a3f7f7fd7cc2f4026029703ffe386102476ca1c1444"}},{"ruleId":"D2","level":"warning","message":{"text":"companion.CompanionScreen (cognitive 48): companion.CompanionScreen has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 24, if/else 11 (14 pts), ternaries 4 (5 pts), error handling 2 (4 pts), loops 1 (nesting depth added 6). Of this number, 27 points are the body\u0027s own statements and 21 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec3d272271cb5109fdb0866bbafcb0ab5429060a6f62efbacfeaad7b9e28111"}},{"ruleId":"D2","level":"warning","message":{"text":"device-console.ToolComposer (cognitive 48): device-console.ToolComposer has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 27, ternaries 11 (15 pts), if/else 6 (nesting depth added 4). Of this number, 30 points are the body\u0027s own statements and 18 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"75db78805cc65eb58bf2ff3bd1444b5f72cdce577e857a20f9c354ef590dab4b"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.ExternalAgentChat (cognitive 48): external-agents.ExternalAgentChat has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 60, ternaries 32 (54 pts), if/else 28 (32 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (external-agents.ExternalAgentChat::proposeAtPoint) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea3fca7930bd43843180d54c181be5e123e3a7baf0e59962a63318fd6880d34"}},{"ruleId":"D2","level":"warning","message":{"text":"CrashEventArtifactWriter.detect (cognitive 47): CrashEventArtifactWriter.detect has cognitive complexity 47 (threshold 15). Drivers by points: if/else 23 (40 pts), boolean chains 6, 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":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/logcat/CrashEventArtifactWriter.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2a43f19b6682de4431b73fb7a17e2ea71d3806897b220beff404e10d9c846e"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeNodeSelectorGeneratorHelpersKt.buildTargetMatch (cognitive 47): TrailblazeNodeSelectorGeneratorHelpersKt.buildTargetMatch has cognitive complexity 47 (threshold 15). Drivers by points: if/else 20 (32 pts), boolean chains 14, match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6736e091ddfed44ce82afb6da819c8695573aef1a1b0fda688fc223880f1125"}},{"ruleId":"D2","level":"warning","message":{"text":"devices.TargetCard (cognitive 46): devices.TargetCard has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 25 (41 pts), boolean chains 5 (nesting depth added 16). Of this number, 43 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed92c9a06f2626f294e0f30670d4abb3555f24919458f173412eba455a93728f"}},{"ruleId":"D2","level":"warning","message":{"text":"fold (cognitive 46): fold has cognitive complexity 46 (threshold 15). Drivers by points: if/else 22 (32 pts), ternaries 3 (8 pts), boolean chains 6 (nesting depth added 15). Most of this is not in the body itself: 10 of the 46 points are its own statements and the rest belongs to one function literal inside it that branches (line 107). 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-activity-model.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf628b8c819349e552b68216a157773371bfd3ad6bfc74fce89b374b947ccdb"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStreamScanner.forward (cognitive 45): EventStreamScanner.forward has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (37 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/events/EventStreamScanner.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c21bffd75716e57fc2e88ea304b3b3a0c69397dc831cf8832d4fe40f3f0188"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::failureMessageHtml (cognitive 45): run-report-viewer.RUN_REPORT_VIEWER::failureMessageHtml has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (33 pts), ternaries 2 (5 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2464}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11b3525f696311b142dcd674c27944e4f27047c27c95830684a8492be9975b3"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionStartCommand.startSession (cognitive 44): SessionStartCommand.startSession has cognitive complexity 44 (threshold 15). Drivers by points: if/else 23 (33 pts), match/switch 3 (5 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1208bca5519debe252884b6dd8de8057ed4ef52608bd1e5761934adf84901095"}},{"ruleId":"D2","level":"warning","message":{"text":"trail-yaml.applyRecordingEdit (cognitive 44): trail-yaml.applyRecordingEdit has cognitive complexity 44 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 11, ternaries 1 (nesting depth added 14). Of this number, 43 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b44556d30dc29efe78a5babedbfd08110a7c4e53289ce015e83889b8a9fb3c3"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::applyDetailRoute (cognitive 44): run-report-viewer.RUN_REPORT_VIEWER::applyDetailRoute has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 8 (20 pts), if/else 13 (14 pts), boolean chains 10 (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. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9aded40cdbeab9ce13fb4ef420e633c0a3c1236af00933ecb374de9c9fd1c9c"}},{"ruleId":"D2","level":"warning","message":{"text":"IosSetPermissionsTrailblazeTool.execute (cognitive 43): IosSetPermissionsTrailblazeTool.execute has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 7, match/switch 2 (5 pts), loops 2 (3 pts), error handling 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/ios/tools/IosSetPermissionsTrailblazeTool.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d4c67e779fa5a0bce097989264acf62ec425d495f8460a23928664641e6ed1"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeNodeSelectorGeneratorHelpersKt.withTextOf (cognitive 43): TrailblazeNodeSelectorGeneratorHelpersKt.withTextOf has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 17, match/switch 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"644b7f4cc8c30edd125d7a441da694206ac201d9e24e3819bff19fce0e19f5c8"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaywrightTrailblazeAgent.executePlaywrightToolOnThread (cognitive 43): PlaywrightTrailblazeAgent.executePlaywrightToolOnThread has cognitive complexity 43 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 8, error handling 3 (8 pts), match/switch 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"262250af1669fd241611a0e38771e44a06234675e2aa9608a16b7b1d1088c17c"}},{"ruleId":"D2","level":"warning","message":{"text":"BridgeUiActionExecutor.describeScreen (cognitive 43): BridgeUiActionExecutor.describeScreen has cognitive complexity 43 (threshold 15). Drivers by points: if/else 21 (36 pts), loops 2 (4 pts), match/switch 1 (3 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"1113c59e7e6c4c31438d67638dd3b2e372d8498d5639fb623d790ad69f7ceb7b"}},{"ruleId":"D2","level":"warning","message":{"text":"steps-board.RecordConfigDialog (cognitive 43): steps-board.RecordConfigDialog has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 28, ternaries 10 (11 pts), if/else 4 (nesting depth added 1). Of this number, 23 points are the body\u0027s own statements and 20 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"35edb68e20730d7cb3d5d484c27aeb415af683078b750dcacbb7df9a54561cc0"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.toolChildren (cognitive 43): run-report-extract.toolChildren has cognitive complexity 43 (threshold 15). Drivers by points: boolean chains 48, if/else 13 (29 pts), ternaries 16 (24 pts), loops 4 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (run-report-extract.toolChildren::spanCapture) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d514c5b512e542d6e36bea55908557824fe1850f7e87bd98c7fd5a2e8856ad"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-visible-strings.extractVisibleStrings (cognitive 43): run-report-visible-strings.extractVisibleStrings has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 8 (17 pts), if/else 7 (15 pts), boolean chains 8, loops 2 (3 pts) (nesting depth added 18). Of this number, 40 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-visible-strings.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"73561be6b4a5585dd3dda7b8ff34af85178e10f872598a46d7eea212aeae8537"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordRoutesKt.recordRoutes (cognitive 42): RecordRoutesKt.recordRoutes has cognitive complexity 42 (threshold 15). Drivers by points: if/else 27 (29 pts), boolean chains 8, loops 1 (3 pts), error handling 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RecordRoutes.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea5a10f02ec9c33e31a7b1405c8c2758f8098db81dc1531b0601597d86780c5"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementRef.resolveInTree (cognitive 42): ElementRef.resolveInTree has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (25 pts), boolean chains 12, match/switch 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/ElementRefSlug.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40dbb7bde36c6232464b9e43b9f8553cebff487fa002b1f3d129e2936e44c16"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeRecordingGeneratorKt.selectDirectToolLogs (cognitive 42): TrailblazeRecordingGeneratorKt.selectDirectToolLogs has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 16, match/switch 2 (4 pts), loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailblazeRecordingGenerator.kt"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9622005f4f64bd2009015d8ef45e68d5d68dee165fbfe1bbcb1f7ee057c166"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptedToolSourceSnapshotScanner.snapshot (cognitive 41): ScriptedToolSourceSnapshotScanner.snapshot has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 5 (11 pts), boolean chains 4, match/switch 1 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/usages/ScriptedToolSourceSnapshotScanner.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b137fe353f118c70087eb893faf879bec34272f4d8a88202cf76b50e78d24347"}},{"ruleId":"D2","level":"warning","message":{"text":"phase.findSplit (cognitive 41): phase.findSplit has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 12, ternaries 9 (10 pts), loops 1 (2 pts) (nesting depth added 10). Of this number, 33 points are the body\u0027s own statements and 8 belong to 6 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":"sdks/typescript/src/surveys/phase.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f6105f27570b5a860fdf8ec1ac52df05ab1651b2474c6d69c76435cf353680"}},{"ruleId":"D2","level":"warning","message":{"text":"editor.insertToolIntoTrailYaml (cognitive 41): editor.insertToolIntoTrailYaml has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 6, loops 5 (6 pts), ternaries 2 (3 pts) (nesting depth added 14). Of this number, 34 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d0e6bc6c3d2d47f91bd541ad5e69529499dc852bbfbf2d6ba092f816166603"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.AgentTranscriptItem (cognitive 41): external-agents.AgentTranscriptItem has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 8 (18 pts), boolean chains 16, if/else 3 (6 pts), match/switch 1 (nesting depth added 13). Of this number, 37 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cdb4e1b23d3f1bfe2d8a399bcb3d16e998bd5bd49000f423b205cb3220592b"}},{"ruleId":"D2","level":"warning","message":{"text":"trail-detail.StepsMode (cognitive 41): trail-detail.StepsMode has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 20, ternaries 8 (14 pts), if/else 5 (7 pts) (nesting depth added 8). Of this number, 26 points are the body\u0027s own statements and 15 belong to 7 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a27ab14fa4491b09f3da4670b432b1226ec13c0681b5d35905061a26aa31dd7"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::readRoute (cognitive 41): run-report-viewer.RUN_REPORT_VIEWER::readRoute has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 23, ternaries 9 (13 pts), if/else 5 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1836}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc24d29263b7a53088d6f655ec26ad28c0b78ad5809bcccf24f1a2dd2d068ba"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::wireTrailReplay (cognitive 41): run-report-viewer.RUN_REPORT_VIEWER::wireTrailReplay has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 27, if/else 12 (14 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":6341}}}],"partialFingerprints":{"codehealthFindingId/v1":"642271c63422093fe83edf541b699843dd6335cd4395b72f5cb64bc281ca3b75"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailFileManager.normalizeToEditableSteps (cognitive 40): TrailFileManager.normalizeToEditableSteps has cognitive complexity 40 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 4 (15 pts), match/switch 1 (2 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailFileManager.kt"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95401266a47a722e14d9eb5b13eaac4b21bb184226846f3e41ec324873a6632"}},{"ruleId":"D2","level":"warning","message":{"text":"live.runLiveSurvey (cognitive 40): live.runLiveSurvey has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (25 pts), ternaries 5 (8 pts), boolean chains 6, loops 1 (nesting depth added 17). Of this number, 39 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/live.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"194327f7f37f351c29e3c6fa37349ae93a91c6b53774188d57e6b8a21e014732"}},{"ruleId":"D2","level":"warning","message":{"text":"trail-tree.TrailTree (cognitive 40): trail-tree.TrailTree has cognitive complexity 40 (threshold 15). Drivers by points: if/else 44 (74 pts), boolean chains 72, ternaries 17 (26 pts), loops 3 (4 pts) (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (trail-tree.TrailTree::onTreeKeyDown) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb7ab7a9a042ef06d03041dc2df1c181e42c37414da7ac66311ad6f14b09a65"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-theater.mountTheater.syncVideos (cognitive 40): run-report-theater.mountTheater.syncVideos has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (31 pts), boolean chains 5, ternaries 2 (3 pts), loops 1 (nesting depth added 20). Of this number, 35 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce90e6e0f5831084208d60b2af3bd1962db003778762db6a61e37e56cb1477f"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectMcpAgent.run (cognitive 39): DirectMcpAgent.run has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (28 pts), match/switch 3 (10 pts), loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/agent/DirectMcpAgent.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9350861c50bb509301d0d14a75415c46181382e137ae6f0421a3447a7a19a323"}},{"ruleId":"D2","level":"warning","message":{"text":"HostAndroidDeviceConnectUtils.connectToInstrumentationExclusive (cognitive 39): HostAndroidDeviceConnectUtils.connectToInstrumentationExclusive has cognitive complexity 39 (threshold 15). Drivers by points: if/else 27 (33 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/HostAndroidDeviceConnectUtils.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"496954220e926a6c9ed7285e7c93f6d2d3df66fd52cc24384b903fbeb2911562"}},{"ruleId":"D2","level":"warning","message":{"text":"IosViewHierarchyFilter.findVisibleViewHierarchyTreeNodes (cognitive 39): IosViewHierarchyFilter.findVisibleViewHierarchyTreeNodes has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 11, loops 7 (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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/IosViewHierarchyFilter.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"58219dc5b3e4b1f4b448a2b0649df1639fd53ec42eb033fe36e951811628234e"}},{"ruleId":"D2","level":"warning","message":{"text":"CaptureVideoFrames.fill (cognitive 39): CaptureVideoFrames.fill has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 6 (10 pts), match/switch 3 (7 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/strings/CaptureVideoFrames.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d6233c10da4c3fc6671e8380cc9fee9e61574f1430e72b8b263684563eec05"}},{"ruleId":"D2","level":"warning","message":{"text":"resolver.matchesSelector (cognitive 39): resolver.matchesSelector has cognitive complexity 39 (threshold 15). Drivers by points: if/else 24 (39 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2406d31ea670d4212c4849328609930997c607e4064fd28735f0a4e2772b69"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeHostYamlRunner.runHostAgentWithOnDeviceRpc (cognitive 38): TrailblazeHostYamlRunner.runHostAgentWithOnDeviceRpc has cognitive complexity 38 (threshold 15). Drivers by points: if/else 24 (27 pts), match/switch 3 (5 pts), loops 2 (3 pts), error handling 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d84ce3da9c04e93787811d1be8fe176766c6e582228226112a032c5f5621d0a"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailRunnerRecordingService.gesture (cognitive 38): TrailRunnerRecordingService.gesture has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (37 pts), match/switch 1 (nesting depth added 19). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RecordRoutes.kt"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7bfe42d102182483d9a21cf3cd73ebb7edc1f6863d5490f4aaed4cee27127b"}},{"ruleId":"D2","level":"warning","message":{"text":"discover.loadSurveyModules (cognitive 38): discover.loadSurveyModules has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 4 (5 pts), boolean chains 4 (nesting depth added 17). Of this number, 26 points are the body\u0027s own statements and 12 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":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a5dba6d8461186e5b75f0a1bad0128c42edd999249a21513a7d65121b72c6d"}},{"ruleId":"D2","level":"warning","message":{"text":"shell.NavRail (cognitive 38): shell.NavRail has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 25, ternaries 7, if/else 5 (6 pts) (nesting depth added 1). Of this number, 26 points are the body\u0027s own statements and 12 belong to 12 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51e8c235c2f9dddbd5ded1990c6afe4c4d388df11d31a39de71f80f20d91737"}},{"ruleId":"D2","level":"warning","message":{"text":"perf-extract.buildRawSpans (cognitive 38): perf-extract.buildRawSpans has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 14, ternaries 3 (nesting depth added 6). None of this is in the body itself: all 38 points belong to one function literal inside it that branches (line 201). 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"3711c0ed449ca57981123fdafa1263e180922b0f023d638ed34f3b2a7313035b"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseTrailblazeAgent.dispatchTools (cognitive 37): BaseTrailblazeAgent.dispatchTools has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (19 pts), error handling 4 (11 pts), boolean chains 4, match/switch 1 (2 pts), loops 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/BaseTrailblazeAgent.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fe84197e5b98767caa7a892c8de390a09164d02707e51cb8e7f5b08a36079f"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaywrightScreenState.buildPageContextHeader (cognitive 37): PlaywrightScreenState.buildPageContextHeader has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (27 pts), error handling 5, boolean chains 3, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8e6b0fdc955df244d3c71393d23dd953d76606849a296f0fac4aa81ccfa066"}},{"ruleId":"D2","level":"warning","message":{"text":"phase.phaseOf (cognitive 37): phase.phaseOf has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 6, ternaries 2 (4 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/phase.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b001c5dd48a7459b80f7d005738b5fb9a20fc1347ed63d832262180d29115f5"}},{"ruleId":"D2","level":"warning","message":{"text":"blaze.BlazeScreen (cognitive 37): blaze.BlazeScreen has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 51, ternaries 17 (24 pts), if/else 16 (17 pts) (nesting depth added 8). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (blaze.BlazeScreen::blaze) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8c31129ecb9b20eba4a553aa377b5312ab31cb45f930e794c7ef177a255fd7"}},{"ruleId":"D2","level":"warning","message":{"text":"trail-yaml.mergeBlazeYaml (cognitive 37): trail-yaml.mergeBlazeYaml has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 7, ternaries 3, error handling 2, loops 1 (2 pts) (nesting depth added 7). Of this number, 33 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3202f21ce2f61121ebf2f548c310135f8098a57f7e24a83326052cc39797d04"}},{"ruleId":"D2","level":"warning","message":{"text":"RunYamlRequestHandler.handle (cognitive 36): RunYamlRequestHandler.handle has cognitive complexity 36 (threshold 15). Drivers by points: if/else 18 (28 pts), error handling 5 (6 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/handlers/RunYamlRequestHandler.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a453af35929424923590bb48958afbff86a8a2c136af5c37b483ebc949ae99ad"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.yamlScalarAt (cognitive 36): run-report-extract.yamlScalarAt has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 3 (5 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0e6fdcb2256040a426bde3eaa25ca8b236ddd01c621b91e16a6f4cbbcda055"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.toSessionPayloads (cognitive 36): run-report-extract.toSessionPayloads has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 29, ternaries 6 (7 pts) (nesting depth added 1). Most of this is not in the body itself: 1 of the 36 points is its own statement and the rest belongs to one function literal inside it that branches (line 1874). 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5806b5b5d7fcaddf1c9cab489c2a714de8b1a31525d613f188c977529ce545f"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary-model.memoryLane (cognitive 36): run-report-summary-model.memoryLane has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (26 pts), ternaries 2 (4 pts), boolean chains 3, loops 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9d03194044f1e67e93d43d16989c81cbcf109183afff7f3a63a52724aa33cb"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-theater.mountTheater.place (cognitive 36): run-report-theater.mountTheater.place has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 8 (21 pts), boolean chains 8, if/else 4 (6 pts), loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"793d5d933ac5d3e4d89e5168a83c5d8c656e43e71c1257bd120fbdb0c987f62a"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::paintTimelinePane (cognitive 36): run-report-viewer.RUN_REPORT_VIEWER::paintTimelinePane has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 14, ternaries 1 (2 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. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9756}}}],"partialFingerprints":{"codehealthFindingId/v1":"41261bce24851c9de1364cd285554ecf333513c6dd7fb3ef5ccda3c015d447d7"}},{"ruleId":"D2","level":"warning","message":{"text":"H264Tee.runReaderLoop (cognitive 35): H264Tee.runReaderLoop has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (20 pts), error handling 4 (9 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/H264Tee.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d4650799537ffdd99c4c0a67ca0e72f1d2261efef458e1c0ba1b0ae7d47584"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedRecordingWriter.mergeIntoUnified (cognitive 35): UnifiedRecordingWriter.mergeIntoUnified has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 9 (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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recordings/UnifiedRecordingWriter.kt"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"23833413c1ae23e586ac32130a042d950ea44312232cafec69a81dfffd36fea3"}},{"ruleId":"D2","level":"warning","message":{"text":"WaypointMigrateTrailCommand.call (cognitive 35): WaypointMigrateTrailCommand.call has cognitive complexity 35 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 4, match/switch 4, error handling 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointMigrateTrailCommand.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8b9db75594d927d61554151c6502a395a34cc1bf9874e039e0ec8b61cb8c2e"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidViewHierarchyFilter.findVisibleViewHierarchyTreeNodes (cognitive 35): AndroidViewHierarchyFilter.findVisibleViewHierarchyTreeNodes has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (24 pts), loops 3 (6 pts), boolean chains 5 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/AndroidViewHierarchyFilter.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3484436ac94136da8810a19707060818a6e0f129aaa56b09186ea40875e6aa0f"}},{"ruleId":"D2","level":"warning","message":{"text":"shell.WorkspaceChip (cognitive 35): shell.WorkspaceChip has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 18, ternaries 7 (9 pts), if/else 7, error handling 1 (nesting depth added 2). Of this number, 24 points are the body\u0027s own statements and 11 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"64497daf0f4952a3b285b3d527b3e4056857ffa1db4fd4b444449b77825f0a4b"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-events.buildEventStream (cognitive 35): run-report-events.buildEventStream has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 9 (15 pts), if/else 7 (9 pts), boolean chains 6, error handling 2 (4 pts), loops 1 (nesting depth added 10). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"530e6395ebe816ac762064e05d96f9c2b6b5d38ecd76da8293a9cba870d45747"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-compare-model.contentDiffOf (cognitive 35): run-report-compare-model.contentDiffOf has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 6, loops 2 (nesting depth added 12). Most of this is not in the body itself: 10 of the 35 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 1225, a function literal at line 1191, flushEdits, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0ba9a7a6a99eb65132ba30a4acc124c9ddf5fd3dfc325b5d6be6e9ccc18851"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderFailureSummary (cognitive 35): run-report-viewer.RUN_REPORT_VIEWER::renderFailureSummary has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 14 (17 pts), boolean chains 16, if/else 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. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2525}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7efb2f0f5c60950ca0f3863c48e90dd513fcd7d47a23e0a5ec8a6ed3d3a1cf"}},{"ruleId":"D2","level":"warning","message":{"text":"videoArtifactsFrom (cognitive 35): videoArtifactsFrom has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 8, ternaries 3 (5 pts), error handling 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c46381b809f582a739498cb4c85026934e0c98e9d98e18a107a6d40eaefdc4f"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeAccessibilityService.waitForSettled (cognitive 34): TrailblazeAccessibilityService.waitForSettled has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (29 pts), boolean chains 4, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f1eedf9562a54d5ea420f0a01b6c53bd00200ab01bf2012420e43bebc31ce3"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectorDialectLint.lintConfigurationLegs (cognitive 34): SelectorDialectLint.lintConfigurationLegs has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (26 pts), loops 3 (6 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/SelectorDialectLint.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"0945f54d25dfc7b2924b424ab615524356431d3975e6916d934d058387e6f8c8"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionImporter.importSessionFromZip (cognitive 34): SessionImporter.importSessionFromZip has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (24 pts), loops 5 (7 pts), boolean chains 2, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/tabs/sessions/SessionImporter.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cccee754bef6776f69fc5106676c22a9ab2f4b3747e82a904d61b147a75b4a"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeNodeSelectorResolver.matchesAndroidAccessibilityAgainstCompose (cognitive 34): TrailblazeNodeSelectorResolver.matchesAndroidAccessibilityAgainstCompose has cognitive complexity 34 (threshold 15). Drivers by points: if/else 28, boolean chains 5, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbce3a0b70310f401fde04320bfc8464d30e19060148a227c73dc35089779e8"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeMcpServer.registerToolsLocked (cognitive 34): TrailblazeMcpServer.registerToolsLocked has cognitive complexity 34 (threshold 15). Drivers by points: if/else 22 (25 pts), boolean chains 5, error handling 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":2587}}}],"partialFingerprints":{"codehealthFindingId/v1":"793494790bcd4e1fc39e7e493b871eca138d034f2bdb25584a0ac1ea90098e46"}},{"ruleId":"D2","level":"warning","message":{"text":"data-extract.buildTrailBundleRows (cognitive 34): data-extract.buildTrailBundleRows has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 18, if/else 5 (7 pts), loops 3 (5 pts), ternaries 2 (4 pts) (nesting depth added 6). Of this number, 25 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-extract.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a767f312432deb9fda1f167cc1edbd190ad30145d8f425f92b23dc5fcdce21a"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.buildAgentTranscript (cognitive 34): external-agents.buildAgentTranscript has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 8, loops 2 (3 pts), match/switch 1 (nesting depth added 11). Most of this is not in the body itself: 12 of the 34 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1787, 1852, 1851). 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1437cb1353aa248a36523804926a92c9146329e4e93c03579c3f7209f8531c"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-trace-spans.slimTracerSpans (cognitive 34): run-report-trace-spans.slimTracerSpans has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 9, ternaries 3 (5 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-trace-spans.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dc0b4ad4da3b41878aac3e95f2859bdb84d73f64055bcc287fd9c4a4e3ac97"}},{"ruleId":"D2","level":"warning","message":{"text":"perf-extract.extractPerfSession (cognitive 34): perf-extract.extractPerfSession has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 8, ternaries 4 (5 pts), loops 3 (nesting depth added 9). Of this number, 27 points are the body\u0027s own statements and 7 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"457edd0e03990fac98ea87aef3b033ea27cf636f2dc1973431a09932e1854c1f"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-compare-model.timedEventObjectsOf (cognitive 34): run-report-compare-model.timedEventObjectsOf has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 7 (19 pts), boolean chains 11, error handling 1 (3 pts), if/else 1 (nesting depth added 14). Most of this is not in the body itself: 2 of the 34 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 711, a function literal at line 698, a function literal at line 704, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b78fc46a31b0def865c8f387e527f33638f7d0c97c15e805c01cb6a623b81a"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-theater.mountTheater.tick (cognitive 34): run-report-theater.mountTheater.tick has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 6, loops 2 (6 pts), ternaries 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a670a7892af9ffe23b2c5a59fd03c0f2c0f1e3b390343e9ce4b9f0c23d47b86"}},{"ruleId":"D2","level":"warning","message":{"text":"zip-report-core.resolveRenderer (cognitive 34): zip-report-core.resolveRenderer has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 33, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dccad2fa0c2b5b9a3bf5c47976651c0177131eb8e0733c7a975f9cee2b0a46d"}},{"ruleId":"D2","level":"warning","message":{"text":"runMeta (cognitive 34): runMeta has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 25, ternaries 9. Of this number, 33 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b1f79f32946ec4e1a6959f96f513104dd8b5b1e35bdda9fcc6766769ae67f6"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeProjectConfigLoader.resolveTrailmapArtifacts (cognitive 33): TrailblazeProjectConfigLoader.resolveTrailmapArtifacts has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (23 pts), error handling 4 (7 pts), match/switch 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailblazeProjectConfigLoader.kt"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c575e1c3fad84fbfe997a80f46a75fbc03103c26270d3542a270a388211dc1"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionRoutesKt.sessionRoutes (cognitive 33): SessionRoutesKt.sessionRoutes has cognitive complexity 33 (threshold 15). Drivers by points: if/else 22 (24 pts), boolean chains 7, loops 1, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9f38b554b5c5df456105bca9c7ee3cadffe7a94bb49e1ac6059ea1d799e535"}},{"ruleId":"D2","level":"warning","message":{"text":"editor.MonacoTrailEditor (cognitive 33): editor.MonacoTrailEditor has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15, boolean chains 13, ternaries 3, error handling 1 (2 pts) (nesting depth added 1). Most of this is not in the body itself: 2 of the 33 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 526, 516, 540, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f698d872bf2aa5af66155dcbb0d8205f25480830c030a93188fc27a544a5b5f"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.ToolSourceEditor (cognitive 33): tools.ToolSourceEditor has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 18, if/else 8 (10 pts), ternaries 4, loops 1 (nesting depth added 2). Most of this is not in the body itself: 9 of the 33 points are its own statements and the rest belongs to 3 function items inside it that branch (rebuildAndRestart, save, a function literal at line 240). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5113d1f7489a40124ff8caa1a75e075fc233d73500b4d8eae564c1d2d26da5a6"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail (cognitive 33): run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 18, if/else 7 (9 pts), ternaries 5 (6 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::readRoute, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ba39b3a770dddeea0bf19132f041a53a3774b4ed952cb82e27205c065babcc"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStreamScanner.backward (cognitive 32): EventStreamScanner.backward has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 5, 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/events/EventStreamScanner.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41e0d569d7f2f2906b4e4e455bff0615c545604bfb710cd93703483121f3799"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolboxCommand.formatIndexResult (cognitive 32): ToolboxCommand.formatIndexResult has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 6, loops 1 (2 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolboxCommand.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84845171b1e007b9d73fa49fbdee2514de4fa1b6cb28441755265e0b29a6e99"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeNodeSelectorGeneratorEnumerationKt.matchTier (cognitive 32): TrailblazeNodeSelectorGeneratorEnumerationKt.matchTier has cognitive complexity 32 (threshold 15). Drivers by points: match/switch 8 (15 pts), boolean chains 10, if/else 7 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorEnumeration.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"749f05da025179a354d5df4d58dca82dceff7cbccccd0c4fc6ae5ae725cf88b2"}},{"ruleId":"D2","level":"warning","message":{"text":"integrations.IntegrationCard (cognitive 32): integrations.IntegrationCard has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 10 (16 pts), boolean chains 8, if/else 4 (6 pts), error handling 1 (2 pts) (nesting depth added 9). Of this number, 18 points are the body\u0027s own statements and 14 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/integrations.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa4031af3282eb7f8b9d1fecf364548c1f0481840ac0db910afff22ad4f06bb"}},{"ruleId":"D2","level":"warning","message":{"text":"record.ProposalToolRow (cognitive 32): record.ProposalToolRow has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 23, if/else 5, ternaries 4. Of this number, 21 points are the body\u0027s own statements and 11 belong to 8 function items inside it that branch. To reduce it, 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cf61a40b5e2874a65f09d45dd41ecbf373bc5d4635b6173bdff692613aed6c"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-payload.normalizeEventPayload (cognitive 32): run-report-payload.normalizeEventPayload has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 9 (12 pts), if/else 6 (10 pts), boolean chains 9, loops 1 (nesting depth added 7). Of this number, 23 points are the body\u0027s own statements and 9 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d693f55a227e95b0a06966b2b9e16679552491f4ec5a084332455c746ca9245"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.assignTraceDevices (cognitive 32): run-report-extract.assignTraceDevices has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 10, loops 4 (nesting depth added 9). Of this number, 25 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"46db7db42fd5fc25424d6c80c73710a6926c5321e2b013f29b3b06ae615bc256"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.toolChildren::spanCapture (cognitive 32): run-report-extract.toolChildren::spanCapture has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 13, if/else 5 (10 pts), ternaries 5 (8 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (run-report-extract.toolChildren) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"8260389c6af174f9ffe7c4b3ed56836c120f08089f73924276c3e3ed1333dbcf"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.estimateLlmComp (cognitive 32): run-report-extract.estimateLlmComp has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 11, ternaries 4 (5 pts), loops 1 (nesting depth added 9). Of this number, 28 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76ecd5e92b8a06b75c803e926539e0c9621e2c90658482f3882ed2bd5cb22d2"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-inspector.inspectorModel (cognitive 32): run-report-inspector.inspectorModel has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 6, loops 3 (6 pts), ternaries 2 (3 pts) (nesting depth added 11). Of this number, 24 points are the body\u0027s own statements and 8 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-inspector.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"490a7dc298d04911bcf50ddf826fcbfb7bcdeb0b2a43dea5f106d7ebcfde582e"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-theater.mountTheater.paintScreens (cognitive 32): run-report-theater.mountTheater.paintScreens has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (17 pts), ternaries 4 (10 pts), boolean chains 4, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"b484fd74123c53d36563709c9c9d59096282527a197570c2928e1663def2dc1d"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve (cognitive 32): resolve has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 30, ternaries 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ed90e0c92feba02705b3a1890fcd9c828427336860b46d9741a5adf1b389a0"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinSourceParser.findPrecedingKdoc (cognitive 31): KotlinSourceParser.findPrecedingKdoc has cognitive complexity 31 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 4 (8 pts), boolean chains 7, match/switch 2 (6 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":"build-logic/src/main/kotlin/SelectorTsCodegen.kt"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e1a2bf25359c71e148436d76fdaa034802e5b363cd87d89cbc245bb8bb6c70"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.useAgentDeviceMirror (cognitive 31): external-agents.useAgentDeviceMirror has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 15, if/else 15, ternaries 1. Most of this is not in the body itself: 3 of the 31 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 2503, 2553, 2512, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2389}}}],"partialFingerprints":{"codehealthFindingId/v1":"b428966922b12a6ed969ff6e053bb9afc7add9d5c7daf6b660dd5422d5fdfca5"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-trace-model.buildReportTraceModel (cognitive 31): run-report-trace-model.buildReportTraceModel has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 12, loops 3 (4 pts) (nesting depth added 7). Most of this is not in the body itself: 13 of the 31 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 150, 226). 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trace-model.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb89ce81edc06f25755fd041ea338672bcf0f4aba2e90c8071bdecc81e58b07a"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-trail-replay.buildReplayTimeline (cognitive 31): run-report-trail-replay.buildReplayTimeline has cognitive complexity 31 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 4 (9 pts), boolean chains 6, ternaries 3 (nesting depth added 14). Of this number, 29 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c83da3509de618664e978cfc9e3e4576da296561f8c6d2f549465af403bca5b"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-theater-model.buildTheaterStory.chapters (cognitive 31): run-report-theater-model.buildTheaterStory.chapters has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 8 (12 pts), boolean chains 6, loops 1 (nesting depth added 10). Of this number, 30 points are the body\u0027s own statements and 1 belongs 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bcda76c9a06f46cbcffbf523bc443067e5a8eb9c205d222be1618a73558fed"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::scrubberHtml (cognitive 31): run-report-viewer.RUN_REPORT_VIEWER::scrubberHtml has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 19 (23 pts), boolean chains 5, if/else 2 (3 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3379}}}],"partialFingerprints":{"codehealthFindingId/v1":"592b2cf9c8601aa174245a3783bf0d1b7bee7a6e93a18506dbe0b126bef9f0ad"}},{"ruleId":"D2","level":"warning","message":{"text":"extractToolSpec (cognitive 31): extractToolSpec has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 5, ternaries 3 (5 pts), loops 1, other 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/tools/extract-tool-defs.mjs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e46ee7880e95f00c9ccb07568ab56a5a3ce9e53aa255b96f55f7adb64ebc5be"}},{"ruleId":"D2","level":"warning","message":{"text":"MaestroUiAutomatorXmlParser.mapXmlHierarchyToMaestroTreeNode (cognitive 30): MaestroUiAutomatorXmlParser.mapXmlHierarchyToMaestroTreeNode has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (29 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/android/MaestroUiAutomatorXmlParser.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ca79c196f1e17b744beaeaf12eb0bea9a040bffb34fe5c0e4fbc7300fe8aa2"}},{"ruleId":"D2","level":"warning","message":{"text":"McpProxy.runSseListener (cognitive 30): McpProxy.runSseListener has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (23 pts), error handling 2 (4 pts), loops 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/McpProxy.kt"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf97781adf7c9c92f2e5a111a006a9c95213958e8623ac38fcbdebeb5fb66b7d"}},{"ruleId":"D2","level":"warning","message":{"text":"ResolvedTargetReportEmitter.renderAgentToolbox (cognitive 30): ResolvedTargetReportEmitter.renderAgentToolbox has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"850af6026cc0dbbfc0bb2ab83d649c7a5f1efbeb19f14e203a3c4d27b604c13e"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptedToolDefinitionAnalyzer.scanToolSources (cognitive 30): ScriptedToolDefinitionAnalyzer.scanToolSources has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (26 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/ScriptedToolDefinitionAnalyzer.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a01bcbeef0f9855608a3862dafa7eb9a1850f0ac75a6c645d8c1e9e684342a"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeDesktopApp.handleCliRunRequest (cognitive 30): TrailblazeDesktopApp.handleCliRunRequest has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (17 pts), match/switch 4 (7 pts), error handling 2 (3 pts), boolean chains 2, 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/TrailblazeDesktopApp.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9147b381d85d701ed960f1d897570cb4faf8fd752b522768a4fadd7fcde8b25"}},{"ruleId":"D2","level":"warning","message":{"text":"LlmTokenBreakdownEstimator.estimateBreakdown (cognitive 30): LlmTokenBreakdownEstimator.estimateBreakdown has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/llm/LlmTokenBreakdownEstimator.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5180f09783df1aa65e317e25dc52b33a243910ebe04ad31d282a0857c0e9a0"}},{"ruleId":"D2","level":"warning","message":{"text":"data-core.applyTrailRunnerUiCommand (cognitive 30): data-core.applyTrailRunnerUiCommand has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 13, ternaries 1 (2 pts), match/switch 1 (nesting depth added 6). Of this number, 25 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82bca02328731bdc5d6483c19fe3467673ec1ceac88fcce56343aaa2f379e0a"}},{"ruleId":"D2","level":"warning","message":{"text":"demonstrate.DemoLiveTrailRail (cognitive 30): demonstrate.DemoLiveTrailRail has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 11, ternaries 5 (10 pts), if/else 9 (nesting depth added 5). Most of this is not in the body itself: 12 of the 30 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 693, 717, 690, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bd1540dc7b32b085f929be93cead54c0dabf988a543cb73ccb60eed247cbf1"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.ExternalAgentsScreen (cognitive 30): external-agents.ExternalAgentsScreen has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 18, if/else 8, ternaries 3 (4 pts) (nesting depth added 1). Most of this is not in the body itself: 14 of the 30 points are its own statements and the rest belongs to 6 function items inside it that branch (stop, a function literal at line 177, a function literal at line 195, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fad1fe0569852060d2fd738d6329370cb22258f5c616a1400d142c31113130"}},{"ruleId":"D2","level":"warning","message":{"text":"record.RecordScreen::propose (cognitive 30): record.RecordScreen::propose has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 14, if/else 8 (11 pts), ternaries 4 (5 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (record.RecordScreen, record.RecordScreen::runAdhocYaml) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"777c6a3a8ab1107d9378dbe7f5bdc0bda329304b85581597cedd9b0e2abeaa32"}},{"ruleId":"D2","level":"warning","message":{"text":"trail-detail.parseTrailSteps (cognitive 30): trail-detail.parseTrailSteps has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 5 (8 pts), boolean chains 6, loops 2, error handling 1 (nesting depth added 6). Most of this is not in the body itself: 13 of the 30 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 81, mapTools). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff4782c70b6fa57337e14e9b7a6d2047d798a24088c5e36669557b77f756802"}},{"ruleId":"D2","level":"warning","message":{"text":"trail-yaml.normalizeTrailDoc (cognitive 30): trail-yaml.normalizeTrailDoc has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 9, ternaries 6 (9 pts), loops 1 (nesting depth added 8). Of this number, 24 points are the body\u0027s own statements and 6 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"306c6374c33f3b59a8698368ab4e15d59e8c8be41862b597ff73f2f1ae9c1dcb"}},{"ruleId":"D2","level":"warning","message":{"text":"perf-extract.buildSteps (cognitive 30): perf-extract.buildSteps has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 8, ternaries 1 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b6c89b27d72df5a15704dd120b77be21181e9962d8fece812bc055b7ff1e02"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::compareStepAnchors (cognitive 30): run-report-viewer.RUN_REPORT_VIEWER::compareStepAnchors has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 16, ternaries 4 (9 pts), if/else 4, loops 1 (nesting depth added 5). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7389}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef799e9cdcd6fbd41e6d516f3c5b3461059ce45893a517c97af18d6797d1849"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinSourceParser.stripAnnotationsAndWhitespace (cognitive 29): KotlinSourceParser.stripAnnotationsAndWhitespace has cognitive complexity 29 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 2 (8 pts), boolean chains 6, match/switch 1 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/SelectorTsCodegen.kt"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb4f42a2f44fd89bd6e10331f8ebf89d55019b5a8e95469ade2c1a6b0120e8b"}},{"ruleId":"D2","level":"warning","message":{"text":"ComposeSemanticTreeMapper.appendCompactNode (cognitive 29): ComposeSemanticTreeMapper.appendCompactNode has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 3 (5 pts), boolean chains 3 (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":"trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/ComposeSemanticTreeMapper.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25dd5184473a5db56a783ab573acc869d0cd3a65d1bbc191347bcdc6b329b7f"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeHostYamlRunner.executeTrailSession (cognitive 29): TrailblazeHostYamlRunner.executeTrailSession has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (20 pts), error handling 6 (9 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10283f542bad49b3ac5e339130089d4d6d5dd4b4118bd5f32da665c7a99ea54"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeNodeSelectorGeneratorHelpersKt.buildStructuralMatch (cognitive 29): TrailblazeNodeSelectorGeneratorHelpersKt.buildStructuralMatch has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 7, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d940412e71c6e33546b68d229ecdd7079d15e1f84f3f6017604a3ada70137ed"}},{"ruleId":"D2","level":"warning","message":{"text":"QuickJsToolHost.connect (cognitive 29): QuickJsToolHost.connect has cognitive complexity 29 (threshold 15). Drivers by points: error handling 10 (18 pts), if/else 6 (11 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolHost.kt"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"9457e58345c6fdc91358cc46e9ed7922ca94a9b0409e1d99899728aa2b9aec99"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerateReportEndpoint.register (cognitive 29): GenerateReportEndpoint.register has cognitive complexity 29 (threshold 15). Drivers by points: if/else 21 (24 pts), boolean chains 2, match/switch 2, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/GenerateReportEndpoint.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1869fdb1d2b21fbf9fdf51fb9b3c10089225223ad3f8bc5c644102c946103df8"}},{"ruleId":"D2","level":"warning","message":{"text":"resolver.matchesAndroidAccessibility (cognitive 29): resolver.matchesAndroidAccessibility has cognitive complexity 29 (threshold 15). Drivers by points: if/else 27 (29 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"145dd9b8a8f38586d0b41486e00621be29f1320619504fbc6da05aa7bdaa8262"}},{"ruleId":"D2","level":"warning","message":{"text":"companion.CompanionDemoFiles (cognitive 29): companion.CompanionDemoFiles has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 8, loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 7). Most of this is not in the body itself: 4 of the 29 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 413, a function literal at line 395, openFile, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77671c6915b6327ab32b7d7a3762095e4ae135ee2b0ebb7709d68fc1612de17"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.AgentYamlPanel (cognitive 29): external-agents.AgentYamlPanel has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 10 (18 pts), boolean chains 9, if/else 2 (nesting depth added 8). Of this number, 22 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e75e77144445816e5e46b7cdb73ae2727d8626f13a2869b249d382fa0515aa0"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-theater.mountTheater.updateRail (cognitive 29): run-report-theater.mountTheater.updateRail has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 9 (16 pts), boolean chains 6, if/else 6, loops 1 (nesting depth added 7). Most of this is not in the body itself: 5 of the 29 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 742, 763, 734, \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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"4632be20be1949fcbbaa36719f2e9766316a748fb6b9999c76df0c49d78ad6d4"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::centerTimelineRow::center (cognitive 29): run-report-viewer.RUN_REPORT_VIEWER::centerTimelineRow::center has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (7 pts), boolean chains 6, ternaries 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9468}}}],"partialFingerprints":{"codehealthFindingId/v1":"498cc7962a8bdf32261f022476cf88fe4674cfc648dd19ed3ddc28b27aa0244b"}},{"ruleId":"D2","level":"warning","message":{"text":"CliOutputFormattersKt.formatBlazeResultAgent (cognitive 28): CliOutputFormattersKt.formatBlazeResultAgent has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 5, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliOutputFormatters.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6db4cf72bbf89203dd6ca24caa54f182e2e60bf6ec43556e80ec99146a38d4"}},{"ruleId":"D2","level":"warning","message":{"text":"CompileCommand.call (cognitive 28): CompileCommand.call has cognitive complexity 28 (threshold 15). Drivers by points: if/else 20 (21 pts), error handling 6, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CompileCommand.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a51362e5ececa2966a342b7205511b82b30e5a716f3baf9c85f7198b942547"}},{"ruleId":"D2","level":"warning","message":{"text":"HostOnDeviceRpcTrailblazeAgent.executeToolViaRpcUntraced (cognitive 28): HostOnDeviceRpcTrailblazeAgent.executeToolViaRpcUntraced has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 3 (6 pts), error handling 2 (3 pts), boolean chains 2 (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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"5631a1fee288286091fcd3b0795684f306db0ea6666a9baf704c8e556293352f"}},{"ruleId":"D2","level":"warning","message":{"text":"DaemonScriptedToolBundler.bundleAll (cognitive 28): DaemonScriptedToolBundler.bundleAll has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/DaemonScriptedToolBundler.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fea04e78fead2ee69fc9c8672afa49c407ab6c12cbc07ad3707febdee4cd29"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaywrightScreenState.handleHiddenElements (cognitive 28): PlaywrightScreenState.handleHiddenElements has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (22 pts), loops 2 (3 pts), boolean chains 2, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"929faadf2dee35d2e420a9edc1bbba6a1830e04a1d790b916e539be85e05f116"}},{"ruleId":"D2","level":"warning","message":{"text":"extract-tool-defs.literalValueOf (cognitive 28): extract-tool-defs.literalValueOf has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 3 (6 pts), boolean chains 4 (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":"sdks/typescript/tools/extract-tool-defs.mjs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b4331d1ceebd64e27c71db3ae1758b5e9d5d06219cc8c18828e7b962478c8e"}},{"ruleId":"D2","level":"warning","message":{"text":"data-extract.buildTrailTree (cognitive 28): data-extract.buildTrailTree has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 15, if/else 7 (9 pts), loops 3, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to 8 function items inside it that branch (trailRow, ensureNode, renderEntry, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-extract.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"747a1ca397dede7c18c7bdeb7b246b854d602487c26b02567f79b2d03c5a8fcc"}},{"ruleId":"D2","level":"warning","message":{"text":"demonstrate.useTrailheadPicker (cognitive 28): demonstrate.useTrailheadPicker has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 16, if/else 9, ternaries 3. Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 53, 39, 58, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9b10dad13b80bb259de198b0a4867d676c49d0ae2898d3b6da090f51a90a7d"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.ExternalAgentChat::proposeAtPoint (cognitive 28): external-agents.ExternalAgentChat::proposeAtPoint has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 12, if/else 8 (11 pts), ternaries 4 (5 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (external-agents.ExternalAgentChat) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"51be690bc7fdb3d60408ec6bd1f14aeb3c0e31957f965403e5696c07c964c721"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.mergeWebHierarchyBounds (cognitive 28): run-report-extract.mergeWebHierarchyBounds has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 13, if/else 9, ternaries 6. Most of this is not in the body itself: 6 of the 28 points are its own statements and the rest belongs to 5 function items inside it that branch (compatible, legacyRect, graft, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"98133b84a43d8738fe32923b106a57d50518a902580b699af2e2d2428c1c05e9"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::timelinePaneView (cognitive 28): run-report-viewer.RUN_REPORT_VIEWER::timelinePaneView has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 18 (23 pts), boolean chains 4, if/else 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2781}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a44c173260ffa96a941bd3c690adf498b9b804dc16a61c0ca12bbe1fba65e6d"}},{"ruleId":"D2","level":"warning","message":{"text":"ResolvedTargetReportEmitter.renderAvailabilityMatrix (cognitive 27): ResolvedTargetReportEmitter.renderAvailabilityMatrix has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 6 (11 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56c178d64e7c7c7569de9d33530bf04f3527caf43148292a0c2494ada9a0fad"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceApiEndpointKt.launchLegacyPollingSubscription (cognitive 27): DeviceApiEndpointKt.launchLegacyPollingSubscription has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (17 pts), error handling 6 (8 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/rpc/DeviceApiEndpoint.kt"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc9d1dd219b7d3807fa534d841988cb5f18f03b2cd2a3585f99353bf1ab4bad"}},{"ruleId":"D2","level":"warning","message":{"text":"BlazeRoutesKt.blazeRoutes (cognitive 27): BlazeRoutesKt.blazeRoutes has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18, boolean chains 7, match/switch 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/BlazeRoutes.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0c012995e26e27bdbbd3c2c6e335780e466583315d3cfab7d39c49cdf914e0"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerateTestResultsCliCommand.generateToolUsageReport (cognitive 27): GenerateTestResultsCliCommand.generateToolUsageReport has cognitive complexity 27 (threshold 15). Drivers by points: loops 8 (15 pts), if/else 5 (9 pts), match/switch 1 (3 pts) (nesting depth added 13). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea90af053b900064957a07e4db4304ed4db85301c45edcd5501f3cfafe56bed"}},{"ruleId":"D2","level":"warning","message":{"text":"parse.networkFromRows (cognitive 27): parse.networkFromRows has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/parse.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"74313be4c53fccec02f6cfef943650e531a07eece2ef46c18e2d2a1732766dc0"}},{"ruleId":"D2","level":"warning","message":{"text":"android_ensureAppCompiled.parseDexoptState (cognitive 27): android_ensureAppCompiled.parseDexoptState has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (22 pts), ternaries 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/commonMain/resources/trails/config/trailmaps/android/tools/android_ensureAppCompiled.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca27ddbede97e3dcecd22bf2b2cf2b44fc18ee77dac583daf2a6b4f6c0ba63d"}},{"ruleId":"D2","level":"warning","message":{"text":"live-device-stream.openLiveDeviceStream.startFallback (cognitive 27): live-device-stream.openLiveDeviceStream.startFallback has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 6, error handling 2 (6 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee6662e58e3158e8f4b3d3ec78b083cddbc69e5eb09a3886827aef7a5cd7ad2"}},{"ruleId":"D2","level":"warning","message":{"text":"companion.deriveCompanionDirectives (cognitive 27): companion.deriveCompanionDirectives has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 8, ternaries 3, error handling 1 (2 pts) (nesting depth added 4). Most of this is not in the body itself: 13 of the 27 points are its own statements and the rest belongs to 4 function items inside it that branch (entry, str, items, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e192165547a513837540458d65a589ab9210a359e2fc959eabaa8c42e699b3b"}},{"ruleId":"D2","level":"warning","message":{"text":"companion.CompanionGuidance (cognitive 27): companion.CompanionGuidance has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 25, if/else 2. Of this number, 23 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b39fed7a566dbd4eaaa65f3af10d61fcca48f8bdbac658464933f17a718bd80"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.Collapsible (cognitive 27): external-agents.Collapsible has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 16 (23 pts), boolean chains 3, if/else 1 (nesting depth added 7). Of this number, 25 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb8459e58625beb6dfaa4d948048e73b9329bb7d9d2bc4991914fc4c7faf7d5"}},{"ruleId":"D2","level":"warning","message":{"text":"record.ElementsPanel (cognitive 27): record.ElementsPanel has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 13 (16 pts), boolean chains 9, if/else 2 (nesting depth added 3). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 2494, 2504, 2503). 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2474}}}],"partialFingerprints":{"codehealthFindingId/v1":"237fed6461a21978bb0affff765effca9fe661ad82550649cd22af44a43414ec"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-html.buildMultiReportHtml (cognitive 27): run-report-html.buildMultiReportHtml has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 11 (14 pts), boolean chains 8, if/else 4 (5 pts) (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 13 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-html.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1c4948af500df9b4e67e7e48157e2d3ce2840f95865b4a3d722e620b2d9987"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary-model.captureNoticesLane (cognitive 27): run-report-summary-model.captureNoticesLane has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 5 (13 pts), loops 4 (7 pts), if/else 3 (5 pts), boolean chains 2 (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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c288f0064e1a7e89d332e13044bd7ed83a7529b965e821a6407e2474940f9b4"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary.mountSummary.openMenu (cognitive 27): run-report-summary.mountSummary.openMenu has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 8, ternaries 1 (3 pts) (nesting depth added 3). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 1430, a function literal at line 1448, outside, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac5337a9a2fc2e0cfbf92d9f564b02301b2c6d5ed1820104836c253f1321b15"}},{"ruleId":"D2","level":"warning","message":{"text":"openLiveDeviceStream.startFallback (cognitive 27): openLiveDeviceStream.startFallback has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 6, error handling 2 (6 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf30c83b25249a2ad54e21a7782734ca52e5fe00feb8779807a6716f4aa9ad1"}},{"ruleId":"D2","level":"warning","message":{"text":"IosVideoCapture.stop (cognitive 26): IosVideoCapture.stop has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (21 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/IosVideoCapture.kt"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c353874bad122127e302f8a695f3d673d3708ce647ccb821f759097c4d2b75"}},{"ruleId":"D2","level":"warning","message":{"text":"UniqueParentStrategy.findAllWithContext (cognitive 26): UniqueParentStrategy.findAllWithContext has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/UniqueParentStrategy.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8aba30c8df54fbecbf45220a7ff44f81d10ceecb1475ee48520ec71936977e5"}},{"ruleId":"D2","level":"warning","message":{"text":"ReportCommand.call (cognitive 26): ReportCommand.call has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 12, if/else 12, error handling 1, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ReportCommand.kt"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da80b4c4a14bd04d7951ffe187acf1851471243babde3f0af1c04fa6c728168"}},{"ruleId":"D2","level":"warning","message":{"text":"UsagesCommand.printHumanReadable (cognitive 26): UsagesCommand.printHumanReadable has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (19 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/UsagesCommand.kt"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"7446cf5479a23ccd17ae2e6e85653ee01b35336f17af1c95ab380e794cf4d3db"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeMcpServer.addToolsAsMcpToolsFromRegistry (cognitive 26): TrailblazeMcpServer.addToolsAsMcpToolsFromRegistry has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 2, error handling 2, match/switch 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacf417773fbd7a1b1c57d7c8003b84fa6298afb7908f5ba8881d18e4f6cdab3"}},{"ruleId":"D2","level":"warning","message":{"text":"labels.runLabelPhases (cognitive 26): labels.runLabelPhases has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 4 (8 pts), loops 4 (6 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 12). Of this number, 15 points are the body\u0027s own statements and 11 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/labels.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd6d29cf2c03810509a05346235d3b44ffe8c098b74afc88ca4166ca760ad16"}},{"ruleId":"D2","level":"warning","message":{"text":"runcommand.buildRunCommand (cognitive 26): runcommand.buildRunCommand has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19, boolean chains 5, ternaries 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runcommand.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0148a0f8b5d863cad2c2bc4702224c8fd800304ff39cdb84ccdef0d9b8664f11"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.AgentComposer::send (cognitive 26): external-agents.AgentComposer::send has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 10, ternaries 4 (5 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (external-agents.AgentComposer) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d27d4609dc551c067c01c50c23fdd3a1d33b43eb9a92ced5019a4ba7fc554a"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.AgentEventLogRow (cognitive 26): external-agents.AgentEventLogRow has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 17, ternaries 4 (6 pts), if/else 2 (3 pts) (nesting depth added 3). Of this number, 24 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2706}}}],"partialFingerprints":{"codehealthFindingId/v1":"36846e5fdb214750584121ebe35fb73d9c58faea8f7ce34a5790b3c69fe826f1"}},{"ruleId":"D2","level":"warning","message":{"text":"home.ExternalAgentPromptPanel (cognitive 26): home.ExternalAgentPromptPanel has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 15, ternaries 7, if/else 4. Of this number, 21 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/home.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42fa0cd070e59cedecd828f4449c4997e6edb701787a646759fa4852eb392c2"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.ToolUsedBy (cognitive 26): tools.ToolUsedBy has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 17, ternaries 3 (5 pts), if/else 3 (4 pts) (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 11 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"9887c23685613e132101fa5bd6fbf5e3206be56e779c60d2b43baf0b4c487f0f"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-compare-model.toDisplayPair (cognitive 26): run-report-compare-model.toDisplayPair has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 5 (8 pts), boolean chains 3 (nesting depth added 9). Of this number, 19 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"6514ec0bd4d529da612c4f605fa80a93cf938b27c7ef85a0b39f5fc442960a93"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderCompareView::manyEventSection (cognitive 26): run-report-viewer.RUN_REPORT_VIEWER::renderCompareView::manyEventSection has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 15 (20 pts), if/else 4, boolean chains 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7931}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8b31751e985df4d29f9406861d26d670e4bc1e7d6033dc28a44aeee0b436cc"}},{"ruleId":"D2","level":"warning","message":{"text":"unifiedDocToMatrix (cognitive 26): unifiedDocToMatrix has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 13, ternaries 9, if/else 4. Of this number, 13 points are the body\u0027s own statements and 13 belong to 6 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-model.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4ab3f3c9eb99a39a6af5c75575e472fcec575c68b61923c069ab0580b172b3"}},{"ruleId":"D2","level":"warning","message":{"text":"KoogStrategyGraphHostRunnerKt.runPromptsWithKoogStrategyGraph (cognitive 25): KoogStrategyGraphHostRunnerKt.runPromptsWithKoogStrategyGraph has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 4 (6 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mcp/agent/KoogStrategyGraphHostRunner.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b732507e4ea66e4a3cbe8792857a50c73f97b99a434cedcb66733f7d35c01947"}},{"ruleId":"D2","level":"warning","message":{"text":"SurveySourceText.scan (cognitive 25): SurveySourceText.scan has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 6, match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/surveys/SurveySourceText.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e379883d7a40e3b1e2687c0b050c285fdce4654df9a0859594b6c05778ad33a3"}},{"ruleId":"D2","level":"warning","message":{"text":"ScrollUntilTextIsVisibleTrailblazeTool.scrollUntilVisibleWithStartPosition (cognitive 25): ScrollUntilTextIsVisibleTrailblazeTool.scrollUntilVisibleWithStartPosition has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 2, error handling 1 (2 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/ScrollUntilTextIsVisibleTrailblazeTool.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"99edb47b7a84e14f0721e1344362b8a15efa6f3d090a62e46c2d517582eb6297"}},{"ruleId":"D2","level":"warning","message":{"text":"HostOnDeviceRpcTrailblazeAgent.executeTool (cognitive 25): HostOnDeviceRpcTrailblazeAgent.executeTool has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 2 (6 pts), boolean chains 4, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"181e40f6890f2449221d5a604ee6c3b6e4bd6eb5ca4058a9d12035dea27379e4"}},{"ruleId":"D2","level":"warning","message":{"text":"RevylHostDriverDescriptor.runRevylYaml (cognitive 25): RevylHostDriverDescriptor.runRevylYaml has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (16 pts), error handling 5 (6 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e86e5d535f866f3ed8a16c563d8f31ca8544691d2c9e77392670959e741607"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeNodeSelectorGeneratorAndroidViewKt.androidViewStrategies (cognitive 25): TrailblazeNodeSelectorGeneratorAndroidViewKt.androidViewStrategies has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidView.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"082c27c683cad6b0040815b01bea2973a57670599e356866edd20cd63ae1a489"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeNodeSelectorResolver.matchesAndroidAccessibility (cognitive 25): TrailblazeNodeSelectorResolver.matchesAndroidAccessibility has cognitive complexity 25 (threshold 15). Drivers by points: if/else 25. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (TrailblazeNodeSelectorResolver.matchesAndroidAccessibilityAgainstView) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"127fe7f47dbddc0cfaa9834c402c1e95928b20da986cef3f58b4b0f43f368299"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeNodeSelectorResolver.matchesAndroidAccessibilityAgainstView (cognitive 25): TrailblazeNodeSelectorResolver.matchesAndroidAccessibilityAgainstView has cognitive complexity 25 (threshold 15). Drivers by points: if/else 25. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (TrailblazeNodeSelectorResolver.matchesAndroidAccessibility) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b7d0bfad4f7f238238160719c9cf5324627c851d1f9ab47d042c28e94b82a6"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigToolSet.handleSet (cognitive 25): ConfigToolSet.handleSet has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ConfigToolSet.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"465701d2dd852ff8c902c8797f41c9d1d0ede8fad1a0c5eb22c1d155cd48fe73"}},{"ruleId":"D2","level":"warning","message":{"text":"live-plan.planReads.readFor (cognitive 25): live-plan.planReads.readFor has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, loops 2 (3 pts), ternaries 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":"sdks/typescript/src/surveys/live-plan.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"47815300fcc8156525b916399ff2caf12568d1b3f640b8024c9fa2e4a735ce65"}},{"ruleId":"D2","level":"warning","message":{"text":"discover.discoverSessions::walk (cognitive 25): discover.discoverSessions::walk has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 5, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"315e344073ecb277029f4006b3d126a2888c1483243505d90cfeb31ece455c7e"}},{"ruleId":"D2","level":"warning","message":{"text":"waypoint-graph-template.html.MapView (cognitive 25): waypoint-graph-template.html.MapView has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13, boolean chains 10, ternaries 2. None of this is in the body itself: all 25 points belong to 9 function literals inside it that branch (lines 1712, 1628, 1644, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"19396dbc24019929a4d78ec2f3a9c187298b0d65df36b08dc4dee5cf4c26b592"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.agentToolMeta (cognitive 25): external-agents.agentToolMeta has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 8, ternaries 3, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9745d9f9c0979942e702d237d7bfab7dbe9b3662a95235155f69097a8eda1a"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.slimLlmForShare (cognitive 25): run-report-extract.slimLlmForShare has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 19, ternaries 6. Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 1762, 1786). 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33b49e042d4e6f7a37d434457265ed98fc53f15c4818671c6390a7ff2fe257d"}},{"ruleId":"D2","level":"warning","message":{"text":"perf-extract.buildTraceSpans (cognitive 25): perf-extract.buildTraceSpans has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 13, boolean chains 11, if/else 1. None of this is in the body itself: all 25 points belong to 2 function literals inside it that branch (lines 372, 388). 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdb921cba84e2d59056e8a24bb63702f5f4b0437fdf1257c00f9958d216a825"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-playback.buildPlaybackSchedule (cognitive 25): run-report-playback.buildPlaybackSchedule has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 5 (8 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 8). Of this number, 16 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-playback.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a722318afd0f2ef5cf12626d17034ac91f1fa24bde05c4e5b4abe9f2750f670c"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-strings-frames.grabClipFrames (cognitive 25): run-report-strings-frames.grabClipFrames has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 4 (6 pts), ternaries 2 (3 pts), boolean chains 2, error handling 2 (nesting depth added 7). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-strings-frames.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a86efe60228602f0a086285306103470cf18f4005935edc223ea8d97c4b6d8"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary.mountSummary.onClick (cognitive 25): run-report-summary.mountSummary.onClick has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (17 pts), ternaries 2 (5 pts), boolean chains 3 (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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d5a289473d46f08ead66af23584a0963c10b6c6b4a63a6ae8447f3cc3a0122"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::captureMoments (cognitive 25): run-report-viewer.RUN_REPORT_VIEWER::captureMoments has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (9 pts), loops 4 (5 pts), ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4379}}}],"partialFingerprints":{"codehealthFindingId/v1":"b089da7d358eb37e8179c5455f357dd33050f3d14d9d57a36dac03ceeca85aa2"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::highlightedYaml (cognitive 25): run-report-viewer.RUN_REPORT_VIEWER::highlightedYaml has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 10, loops 2 (3 pts), 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. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4851}}}],"partialFingerprints":{"codehealthFindingId/v1":"527347c34e297daf4af2fdd808c74cf1a607752c688ecd7bd053ec540f62814f"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-shell.analysisProblem (cognitive 25): run-report-shell.analysisProblem has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 18, if/else 4, ternaries 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"287d4b5eaecc5f2c1cdcb1a5b012250724a8c140380c193134572fc991c2cb8c"}},{"ruleId":"D2","level":"warning","message":{"text":"CaptureSession.fromOptions (cognitive 24): CaptureSession.fromOptions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 6, match/switch 2 (4 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/CaptureSession.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4530ea971afe61f671a8aa06a7f7c319373cc6b0a73837a3962583cca0ea3e"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryCapture.workerLoop (cognitive 24): MemoryCapture.workerLoop has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/memory/MemoryCapture.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"44412185a86e92927927a05e855f4b3f08d80da18ec3a0ff5dd5aad128ac1f55"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidPackageDump.dexoptState (cognitive 24): AndroidPackageDump.dexoptState has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/device/AndroidPackageDump.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e119b82150ee32a6577be2df4cae14e208d6c6e98a4da576de9ecdea92aaa9af"}},{"ruleId":"D2","level":"warning","message":{"text":"MaestroLaunchArgumentRedactionKt.scrubKnownValues (cognitive 24): MaestroLaunchArgumentRedactionKt.scrubKnownValues has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 2, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/maestro/MaestroLaunchArgumentRedaction.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"763482b5eb356004fb266d765d15fcd087162d6379f9dcc2bca7d4784d10d214"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckCommand.runTrailLintPhase (cognitive 24): CheckCommand.runTrailLintPhase has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 2, error handling 2, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CheckCommand.kt"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bd4877fbd0a6e1a49d8042dc129fe7b15e45742fad83ae0387e97d790078a1"}},{"ruleId":"D2","level":"warning","message":{"text":"CliInfrastructureKt.cliTryStartDaemon (cognitive 24): CliInfrastructureKt.cliTryStartDaemon has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 2, match/switch 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":2561}}}],"partialFingerprints":{"codehealthFindingId/v1":"168f9012bbb6fd99009f8eeae9a3e4e88bfd8a8a9f582b3e47f60bdc32070d4a"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailCommand.executeTrailAndCollectResults (cognitive 24): TrailCommand.executeTrailAndCollectResults has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 2, match/switch 2, 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bed8863f87db5d477b3bcda50cedd1427bb959f02e8b751e31f40ba041c6b02"}},{"ruleId":"D2","level":"warning","message":{"text":"memory.createMemory (cognitive 24): memory.createMemory has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (17 pts), ternaries 4 (5 pts), boolean chains 1, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 10 function items inside it that branch (a function literal at line 314, get, lookupToken, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/memory.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3b37c182da664fc1552d910678d0c36e52faa0d70120a2fffbcc3ad7fa5775"}},{"ruleId":"D2","level":"warning","message":{"text":"session.loadScreenTextFile (cognitive 24): session.loadScreenTextFile has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 3 (9 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/session.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6a0d381c8a5f724e5c6635b82274ab1dc1f7cb503a99db53d9389ac9d3e1d8"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveSessionReader.drainFiltered (cognitive 24): LiveSessionReader.drainFiltered has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (nesting depth added 10). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/live.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"2daae6a4dc59184515e2bc722bfbc2738b07401f185ed7b425df7fe6be8d85e2"}},{"ruleId":"D2","level":"warning","message":{"text":"zip-report.ZipReportScreen (cognitive 24): zip-report.ZipReportScreen has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 11, if/else 8 (9 pts), error handling 3, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 7 of the 24 points are its own statements and the rest belongs to 7 function items inside it that branch (load, revokeObjectUrls, a function literal at line 30, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/zip-report.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc2b47da4d4c9071e5735dc302f16a486848b78f24c35fe3e829c23b1ee5dd7"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-compare-model.eventSummary (cognitive 24): run-report-compare-model.eventSummary has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 8 (11 pts), if/else 7, boolean chains 6 (nesting depth added 3). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 5 function items inside it that branch (walk, a function literal at line 1001, crop, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bc0d0a4f2ff263a39bbe4bfaa7a9543979689b06f16f7a9fff2eaa15ad6391"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-compare-model.compareEventStreamsByStep (cognitive 24): run-report-compare-model.compareEventStreamsByStep has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 7, loops 1 (2 pts), ternaries 2 (nesting depth added 6). Most of this is not in the body itself: 2 of the 24 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 1392, a function literal at line 1378, a function literal at line 1422, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2349ab13706bcba402c99716644bbc4a7be3a5230cfa2e8bcd6944475c5763"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-selectors.selectorSuggestionsHtml::card (cognitive 24): run-report-selectors.selectorSuggestionsHtml::card has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 12 (20 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-selectors.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc1a82561b46ae7c4d1b94d5ed526e6f2b81c35eca83ff8c1bd12b606d3a828"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::txHeaderHtml (cognitive 24): run-report-viewer.RUN_REPORT_VIEWER::txHeaderHtml has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 19 (20 pts), boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8727}}}],"partialFingerprints":{"codehealthFindingId/v1":"79de323fea953ab49eb70513a0c552532d722f0bdb41200b6a216be57e8675c9"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerateAndroidTrailJUnitShellsTask.generate (cognitive 23): GenerateAndroidTrailJUnitShellsTask.generate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 3, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-gradle/src/main/kotlin/TrailblazeAndroidGradlePlugin.kt"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"da91a93aa0fe496369ff4c9fd3e951bfdb2264be86014ff056e4b18b635a3080"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidTrailblazeRule.runFromAssets (cognitive 23): AndroidTrailblazeRule.runFromAssets has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 1, loops 1, match/switch 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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/AndroidTrailblazeRule.kt"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd941e441334946386882dc5a14a3589ae0444df4cb9a81f493ff7c00c14ea7"}},{"ruleId":"D2","level":"warning","message":{"text":"EventStreamScanner.contains (cognitive 23): EventStreamScanner.contains has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 2 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/events/EventStreamScanner.kt"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42fa8792fc5a5a66f4ceee5c6c38040ff0aa8aef754677ec86b7ca435fc9b0e"}},{"ruleId":"D2","level":"warning","message":{"text":"SurveySourceText.callArgumentsAt (cognitive 23): SurveySourceText.callArgumentsAt has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 4, loops 2 (3 pts), match/switch 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/surveys/SurveySourceText.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3705470975789010a0da56e4391c66247f7f9d4a4da34822657aa2b0b757d01"}},{"ruleId":"D2","level":"warning","message":{"text":"TapTrailblazeTool.toExecutableTrailblazeTools (cognitive 23): TapTrailblazeTool.toExecutableTrailblazeTools has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 5, error handling 1, match/switch 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/TapTrailblazeTool.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"74717ae2aebb3ce39a644419703914e37b24af682bb686a4518a70f0d479fd4d"}},{"ruleId":"D2","level":"warning","message":{"text":"CliMcpClient.connectToDevice (cognitive 23): CliMcpClient.connectToDevice has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (17 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccac78b2a5660b268058c2d784fba022aa0a9b6c32b6c64c5a2bad0a5f5c401d"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigCommand.showAllConfig (cognitive 23): ConfigCommand.showAllConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ConfigCommand.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe36324006b7ba6961248e9c2f1b95e414202a539690d74d50d81e9a8f49936c"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionSaveCommand.call (cognitive 23): SessionSaveCommand.call has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc5f3c4dfd2588396b74052786df550e2a8ba33cef96834a52f20e25aa798bf"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolYamlBuilder.appendYamlList (cognitive 23): ToolYamlBuilder.appendYamlList has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 3 (11 pts), if/else 5 (7 pts), loops 2 (5 pts) (nesting depth added 13). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolYamlBuilder.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b39af729ddc8d62bca17726b5356517b0a08f1b8863e3bc263fac893d6d9020"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaywrightAriaSnapshot.buildCompactElementList (cognitive 23): PlaywrightAriaSnapshot.buildCompactElementList has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (6 pts), boolean chains 3 (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":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightAriaSnapshot.kt"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"0546d70ac3e2b85edda3cd0907ca92b2c223e56e559a2880c84902e25056543d"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaywrightNativeRequireTextInViewportTool.executeWithPlaywright (cognitive 23): PlaywrightNativeRequireTextInViewportTool.executeWithPlaywright has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), error handling 3 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/tools/PlaywrightNativeTextEvidenceTools.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0f2b995b51fa2f0f76649caec891d2041d588f1c6140493963534c292406ff"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionSummary.fromLogs (cognitive 23): SessionSummary.fromLogs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (16 pts), match/switch 4 (6 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/models/SessionSummary.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"985b8235e5a4542659314a61cf9506454d229f868e14922855b17733aebf6b9e"}},{"ruleId":"D2","level":"warning","message":{"text":"runcommand.applyYamlOverrides (cognitive 23): runcommand.applyYamlOverrides has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runcommand.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"223a7545af049888bd4015eae1e65c3d6d8db83e6795d7bb845b39a3d1a99b5d"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.AgentConversationColumn (cognitive 23): external-agents.AgentConversationColumn has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10, boolean chains 8, ternaries 4 (5 pts) (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 11 belong to 5 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"a873a89d66dc20512e76d5105511e325e6163945b691815275338d4473914788"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.AgentSkillsPanel (cognitive 23): external-agents.AgentSkillsPanel has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 18, if/else 4, ternaries 1. Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 1473, 1484, 1482, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e036b90bf7582ac9dbf05d53c9afa0531c91cafa2a09475e55dd0d7536dff1"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.AgentRecordStage (cognitive 23): external-agents.AgentRecordStage has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 16 (42 pts), boolean chains 40, if/else 19 (24 pts), error handling 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (external-agents.AgentRecordStage::onStagePointerUp) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2770}}}],"partialFingerprints":{"codehealthFindingId/v1":"f490e71de483c6a6cc6b4b053b4b462ea0a95296a180964b00cec1fbfd3589e8"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-cli.readAttachments (cognitive 23): run-report-cli.readAttachments has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (17 pts), error handling 1 (2 pts), loops 2, boolean chains 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"26077c802fffa29ef0705471d41ec6bcbcd9629f7b070ba3d991b6ba13694411"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-cli.main (cognitive 23): run-report-cli.main has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, ternaries 6, if/else 3 (5 pts), loops 1 (nesting depth added 2). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 971, 961, 946, \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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"357d4532a643eae7efd4686c7623e38276cde0136c398d68dd242923f8703ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.summarizeToolArgs (cognitive 23): run-report-extract.summarizeToolArgs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 9, ternaries 2 (3 pts) (nesting depth added 3). Of this number, 19 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e66ecb8f4f47adedc050a4727ec39f573ec0ee875d1f7a98d5c4628390a1988"}},{"ruleId":"D2","level":"warning","message":{"text":"perf-viewer.PERF_VIEWER::renderInspector (cognitive 23): perf-viewer.PERF_VIEWER::renderInspector has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (15 pts), if/else 7, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (perf-viewer.PERF_VIEWER, perf-viewer.PERF_VIEWER::drawBlock) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"d038e84dc27aeee75c32aa10c0f2c33b5e29e3648a6a611af1aa6f64f96b84a0"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-inspector.nodeBounds (cognitive 23): run-report-inspector.nodeBounds has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (10 pts), ternaries 2 (nesting depth added 3). Of this number, 19 points are the body\u0027s own statements and 4 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-inspector.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f4080b072f399a150742bbd6c0651e8aa8c7ce700b7657195ab9a700251c22"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-trail-model.cellFromGroups (cognitive 23): run-report-trail-model.cellFromGroups has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (6 pts), ternaries 5 (6 pts), 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-model.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9e4d74db9b6edf014801f5135b14099f2adb86b85c67feee6c56983eb2dbad"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary-model.layoutBand (cognitive 23): run-report-summary-model.layoutBand has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 6 (11 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"202932b5fb18d254fadc3bcc5d7e317d8ed6cd101538697e9f5dcb3db7949d8f"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-theater.mountTheater.applySnapshot (cognitive 23): run-report-theater.mountTheater.applySnapshot has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 5). Of this number, 20 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb4f034a91c28999d82009478ad03afa9108c465feeaf6f2c760f70c14b1276"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary.mountSummary.entryRows (cognitive 23): run-report-summary.mountSummary.entryRows has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 2 (5 pts), ternaries 3 (4 pts), boolean chains 3 (nesting depth added 7). Of this number, 22 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f395263b3bbd7b32e03dcbf74dbdeb2698978d5761f7d1a5243b265e9c79bbe"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::paintInspector (cognitive 23): run-report-viewer.RUN_REPORT_VIEWER::paintInspector has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 8, ternaries 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9025}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92a44b231e7b96a48cd597574ccff848368b10b68c86753ef7d79e2de953a76"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::onInspectorClick (cognitive 23): run-report-viewer.RUN_REPORT_VIEWER::onInspectorClick has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (16 pts), error handling 2 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9343}}}],"partialFingerprints":{"codehealthFindingId/v1":"90515f80962fb4338382c41875b9e15fd140d250466c7ba38d105dd8f6f65744"}},{"ruleId":"D2","level":"warning","message":{"text":"collectTrailblazeAliases (cognitive 23): collectTrailblazeAliases has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 2 (4 pts), other 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/tools/extract-tool-defs.mjs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"72933569619883e93cd4f0eb0c2625ff46fc0dc81a0985bfb8c7634910aded36"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceTimedFlvMuxer.write (cognitive 22): DeviceTimedFlvMuxer.write has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12, boolean chains 8, match/switch 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/DeviceTimedFlvMuxer.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"069688ba03cc630bb666c6e704b69d78fff614abc55058e254cef06bab46d96e"}},{"ruleId":"D2","level":"warning","message":{"text":"NextMoveDecisionLlmClient.decide (cognitive 22): NextMoveDecisionLlmClient.decide has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 3, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/decision/NextMoveDecisionLlmClient.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"06892fa2c9f5e1172386ce0293c3eb161c421d2656817ea932c7f5eebec88c93"}},{"ruleId":"D2","level":"warning","message":{"text":"NextMoveDecisionLlmClient.treePath (cognitive 22): NextMoveDecisionLlmClient.treePath has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10, match/switch 5 (9 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/decision/NextMoveDecisionLlmClient.kt"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbedc3b879a2796170aaec9c47a76e01636d8fbe07610945a0db946bec86ee2"}},{"ruleId":"D2","level":"warning","message":{"text":"MaestroYamlSerializer.toPrimitive (cognitive 22): MaestroYamlSerializer.toPrimitive has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 4 (7 pts), boolean chains 2 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/maestro/MaestroYamlSerializer.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"976228b7627535dac795afffaba2ea22c76035937d512302c79a09c16e9bcded"}},{"ruleId":"D2","level":"warning","message":{"text":"ParentChildSelectorFinder.findMostSpecificChildSelector (cognitive 22): ParentChildSelectorFinder.findMostSpecificChildSelector has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 2, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/search/ParentChildSelectorFinder.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"174a7dff911ad202e1db185ba37bbd4346e85cfd87f2fb3873134fd7f3507bac"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailmapUnitTestRunner.run (cognitive 22): TrailmapUnitTestRunner.run has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 2, loops 1, 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailmapUnitTestRunner.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a14f684e025b20f7537d11cd400f42563350d1ea6b241cdb2a6578de0c9e0c"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAgentSupervisorKt.parseClaudeEvent (cognitive 22): ExternalAgentSupervisorKt.parseClaudeEvent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), match/switch 3 (5 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExternalAgentSupervisor.kt"},"region":{"startLine":2929}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f24750be159c51b8d7b338f8fd272409f795b2ea0d0fe388bdd3efd3a66f81"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolSourceFiles.buildIndex (cognitive 22): ToolSourceFiles.buildIndex has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolCatalogBuilder.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efd17516e93cbd0c45f86c857803c5cbf94d14bbee8c2c9c7c5ca476d43d6d8"}},{"ruleId":"D2","level":"warning","message":{"text":"IosCompactElementList.isSystemUi (cognitive 22): IosCompactElementList.isSystemUi has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 9 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/IosCompactElementList.kt"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"586afdfc977452778cf1561bb4f7d1ebddea568d00577eceaa24bf789b84c7d6"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidAccessibility.description (cognitive 22): AndroidAccessibility.description has cognitive complexity 22 (threshold 15). Drivers by points: if/else 22. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelector.kt"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ac00f20eebbf856b81f9572cf7c2f9dd7ca64065e9d2e37cf22087897aea74"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailArgBinder.bind (cognitive 22): TrailArgBinder.bind has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 3 (8 pts), loops 2, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailArgBinder.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b216a1f21b50efc577c0e664115cf6fbc6cc5bd53290424f4f7e0d109575f52e"}},{"ruleId":"D2","level":"warning","message":{"text":"StoryboardHtmlBuilder.buildSections (cognitive 22): StoryboardHtmlBuilder.buildSections has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/StoryboardHtmlBuilder.kt"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f831296921e9f9967ab0824a23ccf9463fbdecf8e8efb30618167e306110ffdb"}},{"ruleId":"D2","level":"warning","message":{"text":"jsKt.translateQuoteSections (cognitive 22): jsKt.translateQuoteSections has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 2, 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":"trailblaze-selector-engine-js/src/jsMain/kotlin/xyz/block/trailblaze/api/SelectorPatternRegex.js.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"69315a5c871a700294fd4007abd16d93736da7496b2fd000962fc9d9a1c8478f"}},{"ruleId":"D2","level":"warning","message":{"text":"StepToolSet.parseAndValidateDirectTools (cognitive 22): StepToolSet.parseAndValidateDirectTools has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"3329d139c945dc3a32e5ea4073fd5659b1b934bd1d5561dbc87ed71287fba851"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.main (cognitive 22): cli.main has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 6 (7 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 3). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/snapshot/cli.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ef59b4435a85c584cb83a25ade9f0d3f7f884c7766573aaaf09780165e6cff"}},{"ruleId":"D2","level":"warning","message":{"text":"companion.CompanionReplies (cognitive 22): companion.CompanionReplies has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 14, if/else 6, ternaries 2. Most of this is not in the body itself: 8 of the 22 points are its own statements and the rest belongs to 7 function items inside it that branch (post, a function literal at line 328, flash, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e79e23cb6f86ba694af1ee8b7f2abd7edcc391a7180b78ac8a24ccb108b79ec"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.AgentTrailRail (cognitive 22): external-agents.AgentTrailRail has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 15, if/else 4, ternaries 3. Of this number, 14 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a8dce810668978065ddd3b2f66aa17b61cab9358083c6a97c88d25b41d0fa6"}},{"ruleId":"D2","level":"warning","message":{"text":"steps-board.variantClassifier (cognitive 22): steps-board.variantClassifier has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 4, ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa57ffb29c6bdb2b5263229867081552c96b889a74765b56a5396f9612fa2127"}},{"ruleId":"D2","level":"warning","message":{"text":"steps-board.scaffoldArgs (cognitive 22): steps-board.scaffoldArgs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 7, error handling 2 (3 pts), loops 1 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e89459dc66ce9cd4a29dfe0e7d73ecc666591f667b02ee603d97b11b93daa7"}},{"ruleId":"D2","level":"warning","message":{"text":"share-export.ShareRunModal (cognitive 22): share-export.ShareRunModal has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (7 pts), ternaries 5 (6 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 53, fmtSize, a function literal at line 68, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/share-export.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"842f0622ffbff86b45be86a4014971302730a74f8e9a5f3f72746b34abe261b8"}},{"ruleId":"D2","level":"warning","message":{"text":"shell.CommandPalette (cognitive 22): shell.CommandPalette has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 16, if/else 4 (5 pts), ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to 7 function items inside it that branch (section, onKeyDown, match, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"665eb82c3f69ea409b9bd04a4218080b33b36b813d984e66e568731bf9632cc4"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-events.derivedStreamStatus (cognitive 22): run-report-events.derivedStreamStatus has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (9 pts), boolean chains 7, if/else 3 (4 pts), error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"770c44c6d75c9ec0ed6d985e3e8448136abba90b8629f92e0bb44b85d1322301"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary-model.llmNote (cognitive 22): run-report-summary-model.llmNote has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 9 (10 pts), if/else 9, boolean chains 3 (nesting depth added 1). Of this number, 19 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"651ab212b898a8a1aba674bf2f0d01093609a804ba4fcd3ebabfe8d2b2cf33b5"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-theater-model.buildTheaterStory.addAction (cognitive 22): run-report-theater-model.buildTheaterStory.addAction has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 7, ternaries 3, loops 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd5465728c043eec4b5ed9d478bdeb837d1e47b4334e54b8e479f1e63c48627"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-theater-model.yamlSegments::scalar (cognitive 22): run-report-theater-model.yamlSegments::scalar has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 5 (8 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bde589a272764b13678c981de726e8ec80d42a0eaa9972ed77425b0ed5238be"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary.mountSummary.onWindowKeyDown (cognitive 22): run-report-summary.mountSummary.onWindowKeyDown has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 7, ternaries 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":1723}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ab0ad91b4772bb94c7d7d75aa82cad79a5deac7d69e635ddc15d3e38dd15f0"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessibilityServiceExtKt.toTreeNode (cognitive 21): AccessibilityServiceExtKt.toTreeNode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16 (18 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityServiceExt.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2434097afd8457ff4b41adbd2f2a45a644a0d29651fde2a96ced4919950253a"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeCompiler.collectUnresolvedReferences (cognitive 21): TrailblazeCompiler.collectUnresolvedReferences has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 2, 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/compile/TrailblazeCompiler.kt"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"102aa2b048dda1c725b83071212e9ab6faaafad555fad454eb70d77bd199d2f4"}},{"ruleId":"D2","level":"warning","message":{"text":"MaestroLaunchArgumentRedactionKt.redactLaunches (cognitive 21): MaestroLaunchArgumentRedactionKt.redactLaunches has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 6, match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/maestro/MaestroLaunchArgumentRedaction.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbe263b48b8388833b448fe0318e40414743167c2b47b8d0ef034fc6beb1106"}},{"ruleId":"D2","level":"warning","message":{"text":"TapOnByElementSelector.execute (cognitive 21): TapOnByElementSelector.execute has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 2, match/switch 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/TapOnByElementSelector.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbcb7bf1a87ef2004ad38fe04cb9561fa7c597c1e01bc7eccd15a1af4c5c62a"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigCommand.showLlmConfig (cognitive 21): ConfigCommand.showLlmConfig has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ConfigCommand.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"24027b50a1463d7a1cd868d6a008080b29f757179830a70857c9de13d422dbb0"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillStatusCommand.call (cognitive 21): SkillStatusCommand.call has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2 (6 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SkillCommand.kt"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"376e109aa5c31915326587c2799296a44667c4a55d5140959e9be43676b5dfa6"}},{"ruleId":"D2","level":"warning","message":{"text":"SurveyCommand.call (cognitive 21): SurveyCommand.call has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SurveyCommand.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e73cb279a7f1927e473887761699729e9dfee2222ab7f8ddebd8e4bb58a0c6"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolboxCommand.call (cognitive 21): ToolboxCommand.call has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolboxCommand.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b7685d6c00786fa7275f9f699299e4054ac864cc9c990cade7f1cb19df1e0f"}},{"ruleId":"D2","level":"warning","message":{"text":"DesktopYamlRunner.runHostAgentWithOnDeviceRpc (cognitive 21): DesktopYamlRunner.runHostAgentWithOnDeviceRpc has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 2, match/switch 2, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/yaml/DesktopYamlRunner.kt"},"region":{"startLine":2229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ac80ec275705bb1c89f18747b1322bb6f814e03b2504a27aabe34f6adc47e8"}},{"ruleId":"D2","level":"warning","message":{"text":"DaemonScriptedToolBundler.discoverScriptedToolDescriptors (cognitive 21): DaemonScriptedToolBundler.discoverScriptedToolDescriptors has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 4 (7 pts), loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/DaemonScriptedToolBundler.kt"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb51d23af3d1243483b6d8b9d6b5d5792e54733d8b2ff7e11e885948ad3482ee"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeNodeSelectorGeneratorComposeKt.composeStrategies (cognitive 21): TrailblazeNodeSelectorGeneratorComposeKt.composeStrategies has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorCompose.kt"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ecf2549929cef74f6e502ddfebce4a3758ff91a7d0577b3ca111e90a2a2017"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptedToolArgTypeCoercionKt.coerceValueToSchema (cognitive 21): ScriptedToolArgTypeCoercionKt.coerceValueToSchema has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 1 (3 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/toolcalls/ScriptedToolArgTypeCoercion.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8d115eabffb1baf6135ec01f32028578f1c36bb89dcf6f36e8c1aab0a772c2"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaywrightNativeAssertNetworkEventTool.executeWithPlaywright (cognitive 21): PlaywrightNativeAssertNetworkEventTool.executeWithPlaywright has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/tools/PlaywrightNativeAssertNetworkEventTool.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9882d8f4c0f6c63664b2ab8b6c5dcf08c624733f175d4b17f1a4fe4f5e86d13"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerateTestResultsCliCommand.run (cognitive 21): GenerateTestResultsCliCommand.run has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, error handling 1 (2 pts), loops 1, match/switch 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":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d682e2f1ef8c3d1118d4e3a702bb786f2ffab05e552d3e4ea9498df0d6038c1"}},{"ruleId":"D2","level":"warning","message":{"text":"memory.attachMemoryDeltaToResult (cognitive 21): memory.attachMemoryDeltaToResult has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 4 (7 pts), boolean chains 6 (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":"sdks/typescript/src/memory.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ba2bf21bbc9e5184a39580ea70a0f40ba3c2673ae304d1bbd8b715ecfad414"}},{"ruleId":"D2","level":"warning","message":{"text":"context.fromMeta (cognitive 21): context.fromMeta has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, if/else 6, ternaries 6. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/context.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76364c7e21e1263dcb26c2f31d5208fba764a5a0e48b411fdc6d2169c0ebb18"}},{"ruleId":"D2","level":"warning","message":{"text":"context.parseTarget (cognitive 21): context.parseTarget has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, ternaries 6, if/else 5. 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 items inside it that branch (resolveBaseUrl, resolveAppId). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/context.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"30749d3e1651607fa23fe20838aa6b58cc0022eae91de9f95fbc1fb86c5e2361"}},{"ruleId":"D2","level":"warning","message":{"text":"resolver.matchesIosMaestroAgainstAxe (cognitive 21): resolver.matchesIosMaestroAgainstAxe has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e06d33028feaa9ff3f242d37ffd724792734ad590eec05596c5a0fa1c8814ad"}},{"ruleId":"D2","level":"warning","message":{"text":"match.matchLog (cognitive 21): match.matchLog has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (5 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/match.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0e523cea475155bc29f6ebfdfb2273c784429a1546b5fe7d26b55212c15b24"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveSessionReader.build (cognitive 21): LiveSessionReader.build has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (8 pts), if/else 3 (6 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 8). Of this number, 15 points are the body\u0027s own statements and 6 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":"sdks/typescript/src/surveys/live.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7189657cb5c3ff0ff5e44cfa2d884614ac64d19c2f889671f91913b9337541"}},{"ruleId":"D2","level":"warning","message":{"text":"editor.ToolDocPopover (cognitive 21): editor.ToolDocPopover has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, ternaries 5 (7 pts), if/else 5 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"436b5d97b0281b8d2d4bbcc26a106097fa45308d0eaef5e8c21fe35f1d421015"}},{"ruleId":"D2","level":"warning","message":{"text":"demonstrate.DemoVerifiedPanel (cognitive 21): demonstrate.DemoVerifiedPanel has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 19, if/else 2. Of this number, 14 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d30ecb71ec5a5192ba9690c276499abc2122fc5d4a0a970ec03870146be895e"}},{"ruleId":"D2","level":"warning","message":{"text":"device-console.useDeviceActivity (cognitive 21): device-console.useDeviceActivity has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 8, error handling 1, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 700, 670, 654, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"5443db36a20cd2875ba88de1e5fdb69f34c425e6e1d36416906276896b918762"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.AgentRecordStage::onStagePointerUp (cognitive 21): external-agents.AgentRecordStage::onStagePointerUp has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (external-agents.AgentRecordStage) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2828}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c52b14668807e43c5228f0edc8e19c8ff57129f78ca0c843185db05976bf236"}},{"ruleId":"D2","level":"warning","message":{"text":"record.relevantTools (cognitive 21): record.relevantTools has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (10 pts), boolean chains 8, if/else 3 (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"503197a14dfc0ac7cdefb6a83adc1c2f438f29f56c6f8c804af9220940ef6f63"}},{"ruleId":"D2","level":"warning","message":{"text":"sessions.SessionRow (cognitive 21): sessions.SessionRow has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 12 (13 pts), boolean chains 7, if/else 1 (nesting depth added 1). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"274c076dc0d2f6dc7729f2ad75632cb4d41e2eaa1125065f9e9a496d694925a4"}},{"ruleId":"D2","level":"warning","message":{"text":"trail-detail.UnifiedStepsBoard::renderRow (cognitive 21): trail-detail.UnifiedStepsBoard::renderRow has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 12, ternaries 9. 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2bb77e918709f8bdd9427e142520ddabec95815ecf80c5523d0e9db71f29c9"}},{"ruleId":"D2","level":"warning","message":{"text":"trail-detail.LegacyStepsRunList (cognitive 21): trail-detail.LegacyStepsRunList has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, ternaries 6 (7 pts), if/else 5 (nesting depth added 1). 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 items inside it that branch (a function literal at line 671, a function literal at line 645, a function literal at line 653, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"05abda95665e3289fbf033d78f43356dd95b474aacd607cb4bb06c28dbe27e2a"}},{"ruleId":"D2","level":"warning","message":{"text":"trailmaps.ComponentOverview (cognitive 21): trailmaps.ComponentOverview has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 10 (14 pts), boolean chains 5, if/else 2 (nesting depth added 4). Of this number, 12 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b790ce154f32a404a0200a9feaf800a0d9b0cc9b1a02d4ca27792d4fcb462bd"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.driverActionsAfterTheirTool (cognitive 21): run-report-extract.driverActionsAfterTheirTool has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (6 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 8). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29ed0ec8dcdae0b6d5f31720ee592c2a4699a24f3cf428962a312fb3b4ef79d"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.actionMark (cognitive 21): run-report-extract.actionMark has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), ternaries 4 (7 pts) (nesting depth added 4). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41edc50a0b59a568d4233ca48fd6df284ea7b31457b46418132d83d2449ab21"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.parseLlmResponse (cognitive 21): run-report-extract.parseLlmResponse has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 5, error handling 1 (4 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a940317d8a14825126e0864ad72398af5895b8bbe2faa08377013d31738bf978"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-device-frames.frameKindFor (cognitive 21): run-report-device-frames.frameKindFor has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, ternaries 5 (7 pts), if/else 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-device-frames.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41978748db625a1eef3ac506ddd69aee552e13709b0affeefbd097e4fbeed73"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-trail-model.pickLastFrame (cognitive 21): run-report-trail-model.pickLastFrame has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 10). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-model.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2058fb92b2973a43e8aac3771f921f178499ff9b8cd181fe185c582c3ec2c4b5"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary-model.rowNote (cognitive 21): run-report-summary-model.rowNote has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (13 pts), boolean chains 5, if/else 2 (3 pts) (nesting depth added 6). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 894, 887). 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4288e403cc3af75f7ecfc621f62c34f0771fc790c4f767dd439940ee20c486"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-theater.mountTheater.paintMirror (cognitive 21): run-report-theater.mountTheater.paintMirror has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (10 pts), if/else 6, boolean chains 4, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"42154eafed146b8057aebf46443225bda3753fd2da20b9558bbd8367a4d380ba"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderCompareView::streamInspector (cognitive 21): run-report-viewer.RUN_REPORT_VIEWER::renderCompareView::streamInspector has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 13 (19 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7809}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c273993958f97b4e5d9e0bc7aa7059f6e3c3f0a15163e560292ea34c17a657d"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::openShotFrame (cognitive 21): run-report-viewer.RUN_REPORT_VIEWER::openShotFrame has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, error handling 2, ternaries 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. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8529}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8707ea91b9cd5e5db63814b8b89729ddc6032f3eb5ed53e456343b6dd46a58"}},{"ruleId":"D2","level":"warning","message":{"text":"zip-report-core.sessionDisplayName (cognitive 21): zip-report-core.sessionDisplayName has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 12, if/else 6, ternaries 2 (3 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"484a4fee5f822151d94c19f027061757080aa458318fa3de283ff159ce50f273"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatchRuns (cognitive 21): dispatchRuns has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 8 (10 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 249, a function literal at line 245, (anonymous)::failed, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-fanout.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fa07dccfaa3148bea8faaf07acea18c420c3614fadb42e9b065350d700b1f4"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeScratchTrailYaml::fragmentToStep (cognitive 21): normalizeScratchTrailYaml::fragmentToStep has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6, ternaries 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc442a13d75bad65c7a4eabe8f3bae12f46b8673de5d6e500e75b6fefbd1344"}},{"ruleId":"D2","level":"warning","message":{"text":"buildTargetGroups (cognitive 21): buildTargetGroups has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (7 pts), ternaries 2 (nesting depth added 1). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 36, 58, 22, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/target-picker-model.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14cde5de0c297148e3e46b5582c57cef174e77bd60e4fdfc0e6c1500344c381"}},{"ruleId":"D2","level":"warning","message":{"text":"McpProxy.run (cognitive 20): McpProxy.run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, error handling 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/McpProxy.kt"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"005a2516ff8ee65afd502b991e6d39342b1bb88c540ca744b815e4b6e677889d"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaywrightInstallWaiter.awaitReady (cognitive 20): PlaywrightInstallWaiter.awaitReady has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/PlaywrightInstallWaiter.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b4ce735fa8d4e5cd60c3f7629686a8931399e335ec309ded8688f4de63f7c7"}},{"ruleId":"D2","level":"warning","message":{"text":"StepCommand.call (cognitive 20): StepCommand.call has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (19 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/StepCommand.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a4425d541f130995ed1462d323fc2a0a999b9fdde839de2a70846c6fa04f99"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailCommand.expandTrailFiles (cognitive 20): TrailCommand.expandTrailFiles has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":3958}}}],"partialFingerprints":{"codehealthFindingId/v1":"340f4adf0b5968f0d2d62a661cba380cbcdd7e04a43564eff32b4969cad38fb3"}},{"ruleId":"D2","level":"warning","message":{"text":"WindowsCallerShell.isThrowawayCmd (cognitive 20): WindowsCallerShell.isThrowawayCmd has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (5 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WindowsCallerShell.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d4ccca9a0d207b7ef893b616297dbcccb8a1045e97f9131eda4d4a82a7aa67"}},{"ruleId":"D2","level":"warning","message":{"text":"OnDeviceRpcMemoryProbe.readWithin (cognitive 20): OnDeviceRpcMemoryProbe.readWithin has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 1, match/switch 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/capture/OnDeviceRpcMemoryProbe.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3aa7a9ec2aa88656e80163405fd98df42a4442b67762891f04386af99372387"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiDeviceConfigurationResolver.selectConfigurationName (cognitive 20): MultiDeviceConfigurationResolver.selectConfigurationName has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/yaml/MultiDeviceConfigurationResolver.kt"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a4afca3be6450f2e84348d81edac323d7622151e58cb5171029765c2294354"}},{"ruleId":"D2","level":"warning","message":{"text":"CompanionRoutesKt.companionRoutes (cognitive 20): CompanionRoutesKt.companionRoutes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 19, boolean chains 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/CompanionRoutes.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"52090b9cbb0e798ce78a0881189fba018ead41952341ce738d661d78c1defca8"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeNodeSelectorResolver.matchesCompose (cognitive 20): TrailblazeNodeSelectorResolver.matchesCompose has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1600b5bfdd0fa32140bfc909b681e0837666735ded659c4450c0e4fe418515"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewHierarchyFilter.filterOccludedElements (cognitive 20): ViewHierarchyFilter.filterOccludedElements has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/ViewHierarchyFilter.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b45ce46bc03c27bf5cfb9a282da8187eb7896ae56cca48869b657c48ea2017"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaywrightAriaSnapshot.parseAriaLines (cognitive 20): PlaywrightAriaSnapshot.parseAriaLines 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":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightAriaSnapshot.kt"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee3eeaaff659fe7d0981dd93ab781cf9fc764437bfb5b5f4c4435d291e8c798"}},{"ruleId":"D2","level":"warning","message":{"text":"CliExecEndpoint.register (cognitive 20): CliExecEndpoint.register has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 4 (8 pts), boolean chains 2, 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":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/CliExecEndpoint.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bd72707a90d26f88ab9d2fab82e07b6d7f49cf8a17da044fcf5a2cffb097a6"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceManagerToolSet.bindNamedDevice (cognitive 20): DeviceManagerToolSet.bindNamedDevice has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 5, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c04bf5c32c9a4709b562e4ddcc59d09e345337dbdf4b1f389d21312ae33327"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceManagerToolSet.connectAndReplaceSessionDevice (cognitive 20): DeviceManagerToolSet.connectAndReplaceSessionDevice has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, error handling 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf379aeef9f1c7d559becfeb2737baa56febe332410e4d03f2a17d6d9fd335d"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalLlmSamplingSource.emitSamplingLog (cognitive 20): LocalLlmSamplingSource.emitSamplingLog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae67de4dc611e5858334e751bf06a006564d38158956284d4044c18c0f8439c"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedTrailStepSerializer.deserialize (cognitive 20): UnifiedTrailStepSerializer.deserialize has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), boolean chains 2, match/switch 1 (2 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":"trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailStepSerializer.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a88b36521b40f8100e13bdd189361519abd8f4c8487b76ed9a72bc1b46ad693"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolMapEntryRendererKt.renderToolMapEntry (cognitive 20): ToolMapEntryRendererKt.renderToolMapEntry has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trailmap-bundler/src/main/kotlin/xyz/block/trailblaze/bundle/ToolMapEntryRenderer.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"45eb3f2019aa7b8128e08e5f9d7493170c6732d01dab346bbb9608d189848122"}},{"ruleId":"D2","level":"warning","message":{"text":"trailblaze-node.hitTest::visit (cognitive 20): trailblaze-node.hitTest::visit has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (14 pts), if/else 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/trailblaze-node.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd90cc4c70d7243b2a6e3c807fb6fef77b260286c03463bfa89f7bf0b538312"}},{"ruleId":"D2","level":"warning","message":{"text":"resolver.matchesCompose (cognitive 20): resolver.matchesCompose has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"c176e8334f9336752f87b3a6faef2a9a5cc8d520df46bc96819dd8a9a3cf4c70"}},{"ruleId":"D2","level":"warning","message":{"text":"parse.enrichFromInAppNetworkStreams (cognitive 20): parse.enrichFromInAppNetworkStreams has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (19 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":"sdks/typescript/src/surveys/parse.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bb4f1a1fa90a389730e0b63b4d34bf6d13177f8b2f8b460090270631bda25c"}},{"ruleId":"D2","level":"warning","message":{"text":"report.renderSession (cognitive 20): report.renderSession has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (10 pts), loops 3 (5 pts), if/else 3 (4 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/report.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a2441304338894ba9504cc64ac25a167ec24759be9ab7beebf191c5f6e5794"}},{"ruleId":"D2","level":"warning","message":{"text":"waypoints.loadYamlWaypoints (cognitive 20): waypoints.loadYamlWaypoints has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/waypoints.ts"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ac3f9bc830f17df21c7cf1b344c3332d843a9f87548d8e0e38beb61f5537ba"}},{"ruleId":"D2","level":"warning","message":{"text":"run-payload.collectAttachments (cognitive 20): run-payload.collectAttachments has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75803216c76565194b9df36822ea04549411f04a98509c395ec57a9b3ec594f"}},{"ruleId":"D2","level":"warning","message":{"text":"run-payload.fetchReportEvents (cognitive 20): run-payload.fetchReportEvents has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, ternaries 4, if/else 3, error handling 1. Of this number, 10 points are the body\u0027s own statements and 10 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17b5b5575e5d2fd39752c802ccf164edda91548701f6edf98310e03b378d699"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.AgentTapeCard (cognitive 20): external-agents.AgentTapeCard has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 16, ternaries 4. 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2269}}}],"partialFingerprints":{"codehealthFindingId/v1":"beea1c5ced4613b340049c0f51622418adb0e81486d1f8c84e872c5626562eff"}},{"ruleId":"D2","level":"warning","message":{"text":"record.RecordScreen::runAdhocYaml (cognitive 20): record.RecordScreen::runAdhocYaml has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 3 (6 pts), error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (record.RecordScreen, record.RecordScreen::propose) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9187d0351bf096cafd44baccc138f14d7efd8599014307bdf5560858cefcd19e"}},{"ruleId":"D2","level":"warning","message":{"text":"record.selectorRegexInfo (cognitive 20): record.selectorRegexInfo has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 6, error handling 1 (3 pts), ternaries 2 (3 pts), loops 1 (nesting depth added 5). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 2 function items inside it that branch (walk, a function literal at line 2060). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2058}}}],"partialFingerprints":{"codehealthFindingId/v1":"818f121d4e0964cb8e89e0449e9723d133b3f3a8fd9178ab0995c6c2dc959c68"}},{"ruleId":"D2","level":"warning","message":{"text":"steps-board.ToolCallsPopover (cognitive 20): steps-board.ToolCallsPopover has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 36, if/else 12 (17 pts), ternaries 7 (10 pts), error handling 2 (4 pts), loops 1 (nesting depth added 10). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (steps-board.ToolCallsPopover::buildOut) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce31d0e21e07eee62fb78da8c3dec436770d94b701ba47784bd5fd2ea4ee58cf"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.ToolSummary (cognitive 20): tools.ToolSummary has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 10 (16 pts), boolean chains 4 (nesting depth added 6). Of this number, 13 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7a62169c5f2ec21808502a2bf221bead0186ca61102b8f859e1730bcd9a3ee"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-events.derivedLanes (cognitive 20): run-report-events.derivedLanes has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (11 pts), boolean chains 5, if/else 2, error handling 1, loops 1 (nesting depth added 5). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7cfe9eb5812891c444bd2c071179ce4d833221082377a855a29099311f66c1"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-payload.jsonToYaml (cognitive 20): run-report-payload.jsonToYaml has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 5, ternaries 1 (nesting depth added 2). None of this is in the body itself: all 20 points belong to 5 function items inside it that branch (append, a function literal at line 299, scalar, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a146e5721c26a11daa3ebe4af5bb2e14230efbb12bcf094f108fcf2483c518b4"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-compare-model.pickGroupPath (cognitive 20): run-report-compare-model.pickGroupPath has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8, boolean chains 6, ternaries 3 (6 pts) (nesting depth added 3). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 589, 575). 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"302fb6c33131864bcae17accb718a6530bd28fc72d91491f3cd21ed62bdfd6a3"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary-model.readArgsYaml::block (cognitive 20): run-report-summary-model.readArgsYaml::block has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b6d6bd3cb3bc9027ab713a9843eb56b7343e4d9aa65beea809b07d9edb7eff"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary.mountSummary.paintPreview (cognitive 20): run-report-summary.mountSummary.paintPreview has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bfb0268e858c4e8e3174dab5af24df760a36a06203b7e0c2831fe5f35c0292"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::stepRowHtml::kidRow (cognitive 20): run-report-viewer.RUN_REPORT_VIEWER::stepRowHtml::kidRow has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11 (13 pts), boolean chains 7 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3562}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90323cbf7f68f525ab91e6b05307863cc8ff3e41ab6db6e676b2df5be627a58"}},{"ruleId":"D2","level":"warning","message":{"text":"sessionEventStreams (cognitive 20): sessionEventStreams has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), error handling 3 (4 pts), boolean chains 3, ternaries 2 (nesting depth added 2). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 17 function items inside it that branch (readStream, a function literal at line 725, a function literal at line 749, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"37631c687b3d345948520e0fc3af9b8a6a7ee43ec7cab102bf024044a851657b"}},{"ruleId":"D2","level":"warning","message":{"text":"withSourceLabels (cognitive 20): withSourceLabels has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (7 pts), ternaries 2 (nesting depth added 1). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 433, 424, 429). 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-model.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fce9bf16f8d9ecf7ecd382b20b1f8c270e6ef391a9cdd11a01dcd9cc4cada2"}},{"ruleId":"D2","level":"warning","message":{"text":"ScriptedToolSchemaRefFlattener.percentDecode (cognitive 19): ScriptedToolSchemaRefFlattener.percentDecode has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/commonMain/kotlin/xyz/block/trailblaze/scripting/ScriptedToolSchemaRefFlattener.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac13a01f2310f801f0404806c01be93b1c32b9fb645385808bc7ce3ab564055"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionCleanups.runAll (cognitive 19): SessionCleanups.runAll has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 4 (8 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/SessionCleanups.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"331750c72840b423fb16e10a77ed82f0a3b4b5ef1a0e4455ec2706a43ed82c8a"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectorQueryEngine.pollLive (cognitive 19): SelectorQueryEngine.pollLive has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/SelectorQueryEngine.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1b363b8ce328c86a50b443a32fc53b7795f092ccac446757169989d5cccb4b"}},{"ruleId":"D2","level":"warning","message":{"text":"TeardownTrailblazeTool.execute (cognitive 19): TeardownTrailblazeTool.execute has cognitive complexity 19 (threshold 15). Drivers by points: error handling 3 (9 pts), if/else 6 (8 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/trailhead/TeardownTrailblazeTool.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"43af328773c46f8e91202036f6acb9c737b526a606ee934da35d4a6e9610043f"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectorSuggestCommandKt.suggest (cognitive 19): SelectorSuggestCommandKt.suggest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 1, match/switch 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorSuggestCommand.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb385ec2b49e82f25194b48da0c919c9a04b50bc76d79b41ea9b2a51c62b105d"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailLabelWriter.configLayout (cognitive 19): TrailLabelWriter.configLayout has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 7, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailLabelWriter.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffeaf47791eb032770201715d3cdd8a2c70037caa92fcd0db9d5c81fb118517"}},{"ruleId":"D2","level":"warning","message":{"text":"HostScriptedToolLauncher.launch (cognitive 19): HostScriptedToolLauncher.launch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, loops 1 (3 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/HostScriptedToolLauncher.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"61aae88dead3f2dce84fe3a7bab30dffe1c1e78b493aa553e3427f6e4293350f"}},{"ruleId":"D2","level":"warning","message":{"text":"BundleStore.writeFile (cognitive 19): BundleStore.writeFile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, error handling 1 (2 pts), match/switch 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/BundleStore.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5572823cb24aa5536da38f4ee0a742ffdd0214c149a9f3d0f889cb77a53d1c"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAgentSupervisor.runProcess (cognitive 19): ExternalAgentSupervisor.runProcess has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExternalAgentSupervisor.kt"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"35051b0a5fa31293c042adf6e07e4cd78a2583f6fd68d3f20bb48d7a9b33d9e9"}},{"ruleId":"D2","level":"warning","message":{"text":"IosAxeCompactElementList.walk (cognitive 19): IosAxeCompactElementList.walk has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/IosAxeCompactElementList.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"12822abb9be2f10ce1a5bd54eea7a6c7e19e4f3fe45384ab0fa09b69292766f9"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaywrightTrailblazeAgentKt.cssUnescape (cognitive 19): PlaywrightTrailblazeAgentKt.cssUnescape has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"7768a7e1eead0e3d48b0487b98b0efa91292ef1be9133b05c8e176f65ac61b7c"}},{"ruleId":"D2","level":"warning","message":{"text":"QuickJsToolBundleLauncher.launchAll (cognitive 19): QuickJsToolBundleLauncher.launchAll has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (5 pts), boolean chains 2, error handling 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolBundleLauncher.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf4cbac36e00497933450e9cee91d50576849971300301833490b241b23c2b8"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionToolSet.handleStop (cognitive 19): SessionToolSet.handleStop has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3, error handling 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"60df6350d787b0e42d82f250e3246f91f9ea82f6bdc63acc20c7e7d8cd9348db"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailMcpTool.handleRun (cognitive 19): TrailMcpTool.handleRun has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 1, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailMcpTool.kt"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfa69deb4580eb5b42c9256d0af603115010f2afa8cf73e521f53b50e7821ee"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailMcpTool.handleEditClearRecording (cognitive 19): TrailMcpTool.handleEditClearRecording has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailMcpTool.kt"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"0566e139cc9d1fe185d57eb7b7c3a73e651928a50b0392610e9f254f5694a9d1"}},{"ruleId":"D2","level":"warning","message":{"text":"McpSamplingClient.extractBalancedJson (cognitive 19): McpSamplingClient.extractBalancedJson has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, 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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/McpSamplingClient.kt"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"d777f27ed9ec8edb51c4603de7d7d62837f6098c3f33ddfd546d08c846fb921b"}},{"ruleId":"D2","level":"warning","message":{"text":"stored.merged (cognitive 19): stored.merged has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stored.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aef4d2dfde6cde4ad6f490859e8cff0d453201d1492017cbfae44d84a656f41"}},{"ruleId":"D2","level":"warning","message":{"text":"extract-tool-defs.unreadableSpecGates (cognitive 19): extract-tool-defs.unreadableSpecGates has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/tools/extract-tool-defs.mjs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06f7947fea8896f9eed72e704953f768333b31f5df9a460bad9d4361a22a660"}},{"ruleId":"D2","level":"warning","message":{"text":"editor.TrailEditor (cognitive 19): editor.TrailEditor has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, if/else 5, ternaries 2. Of this number, 12 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"71007d6a90fb8025eca504ba969842667ab7b5cbbb5df45f07dd334fea9aefc0"}},{"ruleId":"D2","level":"warning","message":{"text":"run-payload.fetchDerivedStreams (cognitive 19): run-payload.fetchDerivedStreams has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (6 pts), error handling 2 (3 pts), ternaries 2, 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0a257166f0f4da348bd62de3778fa17a422764e6a32500b41b5f7f1636531a"}},{"ruleId":"D2","level":"warning","message":{"text":"device-activity-model.slimLog (cognitive 19): device-activity-model.slimLog has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 15, if/else 2 (3 pts), match/switch 1 (nesting depth added 1). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-activity-model.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7890b8ce17e6510ea27248263ab485f60def5a0c3f6ad422051a82dd52ab717"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.groupPlumbingRuns (cognitive 19): external-agents.groupPlumbingRuns has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, if/else 8. None of this is in the body itself: all 19 points belong to 6 function items inside it that branch (failSig, a function literal at line 1932, pinned, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1907}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5d02174906810edcb71cefc02cfc4cb5e726bae24e0cf8dcb3469259133655"}},{"ruleId":"D2","level":"warning","message":{"text":"integrations.IntegrationsScreen (cognitive 19): integrations.IntegrationsScreen has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, ternaries 7 (9 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/integrations.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c629496697d15a3a8f86cc477e18e3fa34c8caa9ef8d6356c913cf2032e864"}},{"ruleId":"D2","level":"warning","message":{"text":"steps-board.ToolCallsPopover::buildOut (cognitive 19): steps-board.ToolCallsPopover::buildOut has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 1 (4 pts), boolean chains 3, error handling 1 (3 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (steps-board.ToolCallsPopover) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde2dba14d10ae1bfce98ab31401d686c86d5d241df644dcb49f2868a9483a9d"}},{"ruleId":"D2","level":"warning","message":{"text":"trail-yaml.buildRecordedTrailYaml (cognitive 19): trail-yaml.buildRecordedTrailYaml has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 4 (7 pts), boolean chains 4, loops 1 (nesting depth added 6). 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d805cb042a7be67d60256bb0b1e4e1194006516ea25f7c444ef648a105d7e6ae"}},{"ruleId":"D2","level":"warning","message":{"text":"ui.HoverTip (cognitive 19): ui.HoverTip has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 8 (nesting depth added 3). 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 items inside it that branch (a function literal at line 892, show). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"f266c6519faaf686ad85d3f2746bf65e3daef32b2b3573a1eac3d586055df4c2"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-cli.readEvents (cognitive 19): run-report-cli.readEvents has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (4 pts), error handling 2, boolean chains 1, ternaries 1 (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 4 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bad0805978c2f3443f63c0a68bb417085059f40e50ffc96c6a38cd42a03e33b"}},{"ruleId":"D2","level":"warning","message":{"text":"perf-viewer.PERF_VIEWER (cognitive 19): perf-viewer.PERF_VIEWER has cognitive complexity 19 (threshold 15). Drivers by points: if/else 98 (131 pts), ternaries 51 (82 pts), boolean chains 64, loops 8 (13 pts), error handling 3 (nesting depth added 69). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (perf-viewer.PERF_VIEWER::drawBlock, perf-viewer.PERF_VIEWER::renderInspector) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bbd3755ca0652b3259670a929fbd4fcaec31a9bc76afe14aee85c511bde5be"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-clip-player.parseWebm::walk (cognitive 19): run-report-clip-player.parseWebm::walk has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (4 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"866a2df97471c8360329f800c8f69ae0b17220faba11819530cdf8a9e1c82c89"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-compare-model.pickGroupPathMany (cognitive 19): run-report-compare-model.pickGroupPathMany has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, ternaries 3 (6 pts), boolean chains 5 (nesting depth added 3). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 631, 619). 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4a9295fcab07bc5781a48b5c849696ccddc64928777e9f5bfde717e5339343"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-playback.buildExportSchedule (cognitive 19): run-report-playback.buildExportSchedule has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (10 pts), if/else 4 (5 pts), boolean chains 3, loops 1 (nesting depth added 4). Of this number, 10 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-playback.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f71ef5a0597c833b96845df2abffaf4128b7e21644e8a083a92a2ac2e8e87f"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary-model.firstBranch (cognitive 19): run-report-summary-model.firstBranch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (6 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a7b932df83db09cd1e6f041963330f6dc80d93ffd052843915e1c1a9fa53c4"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary-model.eventDetail (cognitive 19): run-report-summary-model.eventDetail has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (8 pts), boolean chains 5, if/else 3 (5 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0dd472ed03060f886e73c6db378d49a644fce1164aadddfd54f53df712dd385"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary.mountSummary.cardHtml (cognitive 19): run-report-summary.mountSummary.cardHtml has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7, boolean chains 6, ternaries 3 (6 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9115bc1c86ad9e564de4ec61b14242483d3ac55b7ef6854fa8f9a5842625407"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::shotClipMark (cognitive 19): run-report-viewer.RUN_REPORT_VIEWER::shotClipMark has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 5, ternaries 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, run-report-viewer.RUN_REPORT_VIEWER::readRoute, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0b91212108dd3639f5adfbb8c4b9d06b5d2dbc203ab81877d02df975c115eb"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::timelineTrackEvent (cognitive 19): run-report-viewer.RUN_REPORT_VIEWER::timelineTrackEvent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2994}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80dfed5a219b452958eaef891d90932037fca4ed4a36566a9f372dff95deece"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderCompareView::contentDiffBlock (cognitive 19): run-report-viewer.RUN_REPORT_VIEWER::renderCompareView::contentDiffBlock has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 10 (14 pts), boolean chains 4, if/else 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7744}}}],"partialFingerprints":{"codehealthFindingId/v1":"758a0a28f4715c93d7a4ac919de2ed6fb2fd3d2921b84ff79657c526125c9d1a"}},{"ruleId":"D2","level":"warning","message":{"text":"buildSessionInputsFromZipBytes (cognitive 19): buildSessionInputsFromZipBytes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, ternaries 3 (nesting depth added 2). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 999, 1027, 996, \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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71a32bcd6b14f198d3b55ed8be0059f7462ba57dc701b8a152826f91907189e"}},{"ruleId":"D2","level":"warning","message":{"text":"mountLsp::build (cognitive 19): mountLsp::build has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 3, if/else 3, error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72ebb042ccf268061a276a7f33ebdb379da164981de184032fc023546993c44"}},{"ruleId":"D2","level":"warning","message":{"text":"logicalLegs (cognitive 19): logicalLegs has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 5, ternaries 3 (5 pts) (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 6 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-model.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"175f889c71a1bf3d1e1f5b5cf1907775f6138f7f716f36dd3bddc9696a341592"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinSourceParser.parseParams (cognitive 18): KotlinSourceParser.parseParams has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/SelectorTsCodegen.kt"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"5048f671d55bca98d0204000a9ddc9befbe5784a9154f1b121cd9b3f8cd6ff4b"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckCommand.runTypecheckPhase (cognitive 18): CheckCommand.runTypecheckPhase has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 2, error handling 2, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CheckCommand.kt"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"67edfe03b4b7077f5b89208cb6ac11f5fbb608a6658cbe16ecc56d2b174d5a78"}},{"ruleId":"D2","level":"warning","message":{"text":"CliOutputFormattersKt.formatVerifyResultAgent (cognitive 18): CliOutputFormattersKt.formatVerifyResultAgent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 1, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliOutputFormatters.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea08500a673a6e2047ad4be27f71bb4de8c6e26f766bdec4ac1d1cef3657a1d1"}},{"ruleId":"D2","level":"warning","message":{"text":"CliReportGenerator.generateMarkdownReport (cognitive 18): CliReportGenerator.generateMarkdownReport has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 2 (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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75ee205910c2a732969cce0fc8a36cbc4edffc171494ad34daadf3c27b0b986"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionInfoCommand.call (cognitive 18): SessionInfoCommand.call has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, error handling 3, boolean chains 2, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6461ac6cdfd52c8ce3893c5516bc19136bc9f319f048c68a8cf3ec80651beaf"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolboxCommand.formatTargetResult (cognitive 18): ToolboxCommand.formatTargetResult has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolboxCommand.kt"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c155aa91b4df99ed249755a95f863e5b6e649b196fc24a075da60cbf228cd0"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailCommand.resolveLlmModel (cognitive 18): TrailCommand.resolveLlmModel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 1 (4 pts), loops 1 (3 pts), boolean chains 1, error handling 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":1893}}}],"partialFingerprints":{"codehealthFindingId/v1":"9139fe3e1751647eb7e68463c235faf90043c472693a141c264386846a4fe7a9"}},{"ruleId":"D2","level":"warning","message":{"text":"IosDriverTrailRunner.runActions (cognitive 18): IosDriverTrailRunner.runActions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/IosDriverTrailRunner.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe06e29222134e6e05a76c4b57db23b49b08aa33f4cf086b54de7d29e6b2a98"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCatalogCache.workspaceToolFingerprint (cognitive 18): ToolCatalogCache.workspaceToolFingerprint has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolCatalogCache.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54d0de303f0ed67ac6d71a5f0f2b89d5334aaf5278737acc3ec9882f078b03a"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeNodeSelectorGeneratorAndroidAccessibilityKt.namedStructuralAndroidAccessibilityStrategies (cognitive 18): TrailblazeNodeSelectorGeneratorAndroidAccessibilityKt.namedStructuralAndroidAccessibilityStrategies has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, boolean chains 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1eb88d0e6c468cce9cc968afdfad334154439df97cf1b1b9d7ba32467c0ac3"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeNodeSelectorGeneratorIosAxeKt.iosAxeStrategies (cognitive 18): TrailblazeNodeSelectorGeneratorIosAxeKt.iosAxeStrategies has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, boolean chains 6. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorIosAxe.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"658d9d73a16d6939b86594708dd84cd5774d7113f259be291ad3a7b47a689589"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewHierarchyHitTester.hitTestRecursive (cognitive 18): ViewHierarchyHitTester.hitTestRecursive has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/recording/ViewHierarchyHitTester.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4792f7818d4b2c397e1bd66383625c12467a86e3e2e07f68cbfafad538b87f45"}},{"ruleId":"D2","level":"warning","message":{"text":"SerialDescriptorTsCodegen.renderType (cognitive 18): SerialDescriptorTsCodegen.renderType has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/jvmMain/kotlin/xyz/block/trailblaze/codegen/SerialDescriptorTsCodegen.kt"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ea871c2f1cc0de319d8e39b83586276ef9d9111fb531e60a81d405cb27e8d1"}},{"ruleId":"D2","level":"warning","message":{"text":"BridgeUiActionExecutor.extractContextLabels (cognitive 18): BridgeUiActionExecutor.extractContextLabels has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82cdfc473db6cb3e006e4f73e42b02b7f7dc4b8585faa977c7fcae926f46e54"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionToolSet.handleLogcat (cognitive 18): SessionToolSet.handleLogcat has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c2273023ebced82ee154a12456c22944c885acfa3b8d0b6b5d09e205d13621"}},{"ruleId":"D2","level":"warning","message":{"text":"stored.sessionInputs::walk (cognitive 18): stored.sessionInputs::walk has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 2 (3 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stored.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf584358d67474eb64c60dc9954b340425142080dbb966d3aab8c02564a0c4a"}},{"ruleId":"D2","level":"warning","message":{"text":"data-hooks.useSessions (cognitive 18): data-hooks.useSessions has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 15, ternaries 2, if/else 1. Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 204, 192). 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-hooks.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9782401a2ceb9cc86f24ca88c16faaaf6755c2ca86134221176e77ec43cfbd"}},{"ruleId":"D2","level":"warning","message":{"text":"run-payload.readBodyWithinLimit (cognitive 18): run-payload.readBodyWithinLimit has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 4, error handling 1 (3 pts), ternaries 2 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"906deb5c044e2a9a4189dd72772d8c06b23e41fef06c2d69942fdaff29394ac0"}},{"ruleId":"D2","level":"warning","message":{"text":"runconfig-steps.RunStepsPane (cognitive 18): runconfig-steps.RunStepsPane has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 18. Of this number, 16 points are the body\u0027s own statements and 2 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf3d17d4a02f370dff999e833ddf5c451573a60dd7f7f0ddee2d1a223977b32"}},{"ruleId":"D2","level":"warning","message":{"text":"follow-run-model.decide (cognitive 18): follow-run-model.decide has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (8 pts), ternaries 1 (2 pts) (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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/follow-run-model.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"42beb96543670ec2ddf733d7ee82e3c82ca5465fb3c9543c0e6bdb094f23971a"}},{"ruleId":"D2","level":"warning","message":{"text":"record.selectorMeta (cognitive 18): record.selectorMeta has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 7. 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de1954d117f078e4944db44fcba51fb513dccc2aea7bf66a1b578ab487e1ae5"}},{"ruleId":"D2","level":"warning","message":{"text":"record.bestSelectorObj (cognitive 18): record.bestSelectorObj has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (4 pts), boolean chains 3, ternaries 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6488c52e07b0bbe1b21899d2458c127ba709d57677e0b939dd5bf3eff29317ac"}},{"ruleId":"D2","level":"warning","message":{"text":"trace-viewer.SaveBackBanner (cognitive 18): trace-viewer.SaveBackBanner has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10 (16 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f10eef5665962fec82a5db1caacb6547ed2074ec25517a32d1a38079ee4deae"}},{"ruleId":"D2","level":"warning","message":{"text":"trail-detail.TrailDetailView (cognitive 18): trail-detail.TrailDetailView has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 14, ternaries 3, if/else 1. Of this number, 17 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc643511ff9fce6ecee64e80d9d74dc4867ece56638253bdda9b9ba70a800a4"}},{"ruleId":"D2","level":"warning","message":{"text":"trailmaps.ComponentDetail (cognitive 18): trailmaps.ComponentDetail has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 6, if/else 3 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"083f767df448b51818953e3d382141653756b8c587a75b8fb8e99f896bc8eded"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-events.clampRow (cognitive 18): run-report-events.clampRow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, ternaries 1 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"35dc50466867538ed51cf137f873079dd68718d0482457fc552b27a5f8468062"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-compare-model.highlightSpans (cognitive 18): run-report-compare-model.highlightSpans has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, loops 4, if/else 2, ternaries 1. Of this number, 15 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f484ad4e36f608ae5435f76c3a8be9c7ba4a906962fa76e2bc9bc97b130b5e92"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-trace-model.rowPhase (cognitive 18): run-report-trace-model.rowPhase has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (10 pts), boolean chains 5, if/else 3 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trace-model.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8760cfd927f8bc1d4e91db0087f70b527db14431488635dc4a6bd830d280fa4"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary-model.toolReading (cognitive 18): run-report-summary-model.toolReading has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7, boolean chains 6, ternaries 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c390d6b55626ee66edfd22fbedd9d372af37ae6f45c8ad87c8c2f2130bd1c70"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary-model.visibleStringsLane.notes (cognitive 18): run-report-summary-model.visibleStringsLane.notes has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 12 (14 pts), boolean chains 2, if/else 2 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"819829c34e76c129ac60dcdbebd76b43d53bbdb34d93176ce5b7ca271ac2e3de"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::sessionStringsModel (cognitive 18): run-report-viewer.RUN_REPORT_VIEWER::sessionStringsModel has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (7 pts), loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4290}}}],"partialFingerprints":{"codehealthFindingId/v1":"166d66b2fe529b8d6f6a52fa210a15a7e74c80f1a71bf90535a290b888b7e8d1"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderIndex::renderCell (cognitive 18): run-report-viewer.RUN_REPORT_VIEWER::renderIndex::renderCell has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 12 (15 pts), boolean chains 2, if/else 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":5472}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee83708702671d29072c11db721ba7cefe22091f1e3f7869977018b6621f68f"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderCompareView::eventSection::streamPriority (cognitive 18): run-report-viewer.RUN_REPORT_VIEWER::renderCompareView::eventSection::streamPriority has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (15 pts), boolean chains 3 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7854}}}],"partialFingerprints":{"codehealthFindingId/v1":"852d876625107b09f2e081bb581a4a698e9f0b37eaec96201f2895799dfedb89"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeScratchTrailYaml::legacyTrailheadToUnified (cognitive 18): normalizeScratchTrailYaml::legacyTrailheadToUnified has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6 (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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45b21c73308414c9d838728ebf400e64b81e2051e34f4d75fdc492b6915e9fe"}},{"ruleId":"D2","level":"warning","message":{"text":"collectSdkNamedImportAliases (cognitive 18): collectSdkNamedImportAliases has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), boolean chains 1, other 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":"sdks/typescript/tools/extract-tool-defs.mjs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc041beff367e4d3d04ab0421312373d5fc36ec2743728734afdf919e346e8d9"}},{"ruleId":"D2","level":"warning","message":{"text":"KotlinSourceParser.splitTopLevelCommas (cognitive 17): KotlinSourceParser.splitTopLevelCommas has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/SelectorTsCodegen.kt"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e8d47333fcdb55c0c5af7b1f43ccd7c471d99c98aea445f194f8e668afa413"}},{"ruleId":"D2","level":"warning","message":{"text":"GetMemoryInfoRequestHandler.read (cognitive 17): GetMemoryInfoRequestHandler.read has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/handlers/GetMemoryInfoRequestHandler.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbde97d756fc95450960c51bc8c3ba6e9c808d8563ecc6decc1b23a7c2b5097"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeAgentContextKt.logToolExecution (cognitive 17): TrailblazeAgentContextKt.logToolExecution has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/TrailblazeAgentContext.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdededd59d29ae4b667d40e5b66207e2f1a23e65ea3e74f065e3a4889607169"}},{"ruleId":"D2","level":"warning","message":{"text":"OuterLoopAgent.run (cognitive 17): OuterLoopAgent.run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), match/switch 3 (8 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/agent/OuterLoopAgent.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb06c5c87e62cd6ece85fd9b2470fd046f63faf3d9a49e7e9fade3c4539c792"}},{"ruleId":"D2","level":"warning","message":{"text":"BarcodeDecoder.tiles (cognitive 17): BarcodeDecoder.tiles has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/barcode/BarcodeDecoder.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3639ef5e030275a51538d84ae817016f232658769829bcd186cba3edd828a5"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailheadRuns.checkLanding (cognitive 17): TrailheadRuns.checkLanding has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/trailhead/TrailheadRuns.kt"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"278b15a7099e0708219aa843ba4ad07a3c54ec1f78b290416dd4d80ee423fbec"}},{"ruleId":"D2","level":"warning","message":{"text":"LoopCommand.runAgain (cognitive 17): LoopCommand.runAgain has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/LoopCommand.kt"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f9e6dcbe63cc9cb8b2211c8fb9a02b58b585138a13c0b63698506ffc879046"}},{"ruleId":"D2","level":"warning","message":{"text":"ResultsShowCommand.prettyPrint (cognitive 17): ResultsShowCommand.prettyPrint has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ResultsCommand.kt"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13b0e28653da7bb5248772b2e2d8819b3f2a0b4a877ad02d6aeb6e6e2a90d01"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionArtifactsCommand.call (cognitive 17): SessionArtifactsCommand.call has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 2, error handling 2, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ac8bc20411582f1dd085ebe4090aa84ab25fb45b4c93d490ee267ff73cacc1"}},{"ruleId":"D2","level":"warning","message":{"text":"ResolvedTargetReportEmitter.renderRuntimeRegistry (cognitive 17): ResolvedTargetReportEmitter.renderRuntimeRegistry has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (7 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8407ff20c6fd94bac5f9680d201c110fed4e10c2f869d006c7ccfe05447a3f"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidBinaryXml.findAttributes (cognitive 17): AndroidBinaryXml.findAttributes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/AndroidBinaryXml.kt"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a69a8faa1725adb054c711ac00714cf3ad5e478ba63b365d65468e5f86b9d0a"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalAgentRoutesKt.parseSkillFrontmatter (cognitive 17): ExternalAgentRoutesKt.parseSkillFrontmatter has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExternalAgentRoutes.kt"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"3095ba4f8da8e5d0b98e924877173ef4366569555350f0be477a24169fe1a706"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeDeviceManager.getOrCreateSessionResolution (cognitive 17): TrailblazeDeviceManager.getOrCreateSessionResolution has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (17 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/TrailblazeDeviceManager.kt"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24c3cfd9cc0269d289448f48ef5692af8ef0d10370f415747e9111202077332"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaywrightAriaSnapshot.forEachCorrelatableAiLine (cognitive 17): PlaywrightAriaSnapshot.forEachCorrelatableAiLine has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightAriaSnapshot.kt"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f574398c5dc7f10a585ee601f01cec492b59e8d5f03fdff419bedfced621a18"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaywrightDriverManager.downloadAndExtractDriver (cognitive 17): PlaywrightDriverManager.downloadAndExtractDriver has cognitive complexity 17 (threshold 15). Drivers by points: error handling 2 (8 pts), if/else 2 (6 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightDriverManager.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9df83106a6bbf1173a1bf23c8542ae127108dcdf1acb6a9c0cad4b8cef1e37"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaywrightScreenState.enrichCompactElementList (cognitive 17): PlaywrightScreenState.enrichCompactElementList has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"8553593366d1883da9403d22c66b38ff06220852e969c3ffa27ff8f25aecd71d"}},{"ruleId":"D2","level":"warning","message":{"text":"StoryboardHtmlBuilder.labelFor (cognitive 17): StoryboardHtmlBuilder.labelFor has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2 (3 pts) (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/StoryboardHtmlBuilder.kt"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d198b5bf59f9ac33e9e9a199649b59a15dc75b62dd2799681ebb21f7cb17e0"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeMcpSessionContext.sendProgressInternal (cognitive 17): TrailblazeMcpSessionContext.sendProgressInternal has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), error handling 3 (5 pts), match/switch 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpSessionContext.kt"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0c5439aa366ff18b720d025d394544828effe87bdfcfc388749692480c5434"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionToolSet.handleSave (cognitive 17): SessionToolSet.handleSave has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a2ed159f46fb302416be83316edc9355bf8bfe966337acbfc84cdb3c1f5eef"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolDiscoveryToolSet.toolSetStanding (cognitive 17): ToolDiscoveryToolSet.toolSetStanding has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ToolDiscoveryToolSet.kt"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aeef6031d9ef18011caf07f4d62c5a293b3206e8cafe6385565c28eee24bf47"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailFormatYaml.appendJsonElementAsYaml (cognitive 17): TrailFormatYaml.appendJsonElementAsYaml has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailFormatYaml.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fbd594a7cc07c081e5b21bb298527264d18a4db9d08524266f4a69c9c25cf8"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedTrailEmitter.appendScalar (cognitive 17): UnifiedTrailEmitter.appendScalar has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), match/switch 2 (5 pts), 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":"trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailEmitter.kt"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7b2744059a03b73ce25eaf338a1c6bba284d30677f6b674c4782d98a87e27c"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceClientDtsGenerator.renderClientDts (cognitive 17): WorkspaceClientDtsGenerator.renderClientDts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trailmap-bundler/src/main/kotlin/xyz/block/trailblaze/bundle/WorkspaceClientDtsGenerator.kt"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"040cf80e3b9d974a865c7015c1c4bfa3a44bbac44e8ca6a7a6ab5c208b6386e3"}},{"ruleId":"D2","level":"warning","message":{"text":"waypoints.waypointFindings (cognitive 17): waypoints.waypointFindings has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 3 (5 pts), loops 1 (nesting depth added 8). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/waypoints.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf2e6c932df7d777fdaa3aee987988850af1d325248126a3568f9520bd583c7"}},{"ruleId":"D2","level":"warning","message":{"text":"cli-main.writeStreams (cognitive 17): cli-main.writeStreams has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (5 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/cli-main.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8855259cb292cb41f5f6976001ec4ecec641a706c6e6f73f0311ffb2bdc2d5"}},{"ruleId":"D2","level":"warning","message":{"text":"data-core.switchWorkspace (cognitive 17): data-core.switchWorkspace has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, ternaries 2 (3 pts), error handling 2, if/else 2 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ff61e03683d663b0491ce8197307461c94ae0188adf0a11ccb9e2b02ed25d4"}},{"ruleId":"D2","level":"warning","message":{"text":"run-fanout.defaultDeviceIds (cognitive 17): run-fanout.defaultDeviceIds has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (11 pts), boolean chains 4, if/else 2 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-fanout.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"250a5ea1a3288c0a190a067a5971818d418c66124bf06fb6be4c1ddfbb594483"}},{"ruleId":"D2","level":"warning","message":{"text":"run-payload.normalizeSummary (cognitive 17): run-payload.normalizeSummary has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 14, ternaries 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"899e2d1f5db7444d358d7fc6eca033c25eae39dcbf0821785edca9ca0d2f7e31"}},{"ruleId":"D2","level":"warning","message":{"text":"companion.CompanionReviewAsk::send (cognitive 17): companion.CompanionReviewAsk::send has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 5, ternaries 2 (5 pts) (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. This shape REPEATS in the file: one other method here (companion.CompanionReviewAsk) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"518ccd6392ee93ea794325b5955996ae59feb21394687f1b3d46204c5412ed28"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.AgentNewConversationBody (cognitive 17): external-agents.AgentNewConversationBody has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 4, ternaries 3. Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 821, 828, 835, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76f41a04748bfd2428b1bb80010b4da3c0ed1ea73839b84f79e4479cefad935"}},{"ruleId":"D2","level":"warning","message":{"text":"record.buildProposalToolYaml::valueFor (cognitive 17): record.buildProposalToolYaml::valueFor has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 7. 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2c66f781a3a304255502971d900be035166f4304b70b86e4301e4ad674d331"}},{"ruleId":"D2","level":"warning","message":{"text":"trace-viewer.SaveAsTrailModal (cognitive 17): trace-viewer.SaveAsTrailModal has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 5, ternaries 4 (5 pts) (nesting depth added 1). Of this number, 10 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2ffe168a17433e810f0a21fad48fcfb6f06ec715a27e5a235a97706d5e37b4"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-warnings.runWarningsFromSurveys (cognitive 17): run-report-warnings.runWarningsFromSurveys has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 3, loops 2 (3 pts), error handling 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-warnings.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"703142fdf51f2ec77b65201a49c6a902349c709a84b59ad0055a52f55b87120f"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-payload.transcriptToolCallYaml (cognitive 17): run-report-payload.transcriptToolCallYaml has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 6, ternaries 2, error handling 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cf49eed5d8bddd83587b1fe99763c5372e20f442b78847875b22cb7a306b8d"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-trail-model.buildTrailMatrix (cognitive 17): run-report-trail-model.buildTrailMatrix has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, ternaries 3 (6 pts), if/else 2 (4 pts), loops 1 (nesting depth added 5). Of this number, 12 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-model.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"d005bd2e9872bb3f4cf13c160ff190c3d6de9b8ee2c6d2534921c7318682dbb7"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-trail-replay.alignReplayByStep (cognitive 17): run-report-trail-replay.alignReplayByStep has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5, boolean chains 4, if/else 2 (4 pts), loops 3 (4 pts) (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e0acbbeaef47f2dcc9d23b4d45f52547c406e073f34cd128aae158f563e388"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-theater-model.actionLabel (cognitive 17): run-report-theater-model.actionLabel has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 7, if/else 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be14f7daa19465773746db37c1718dfa7916d3397b25069ba8aac0a309a847d"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-theater.mountTheater.buildSteps (cognitive 17): run-report-theater.mountTheater.buildSteps has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (12 pts), if/else 4, loops 1 (nesting depth added 5). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 672). 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e1b0fc2a0f4e66db2178ab5196bd2dbce633f878f9c2127f9ef029b83e2bbe"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::attachmentBodyHtml (cognitive 17): run-report-viewer.RUN_REPORT_VIEWER::attachmentBodyHtml has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 4, ternaries 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3199}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1998c3585b6ae4074c560b38ebd7cb8ad98798ff64939d8e6cedd8d7681c65"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::trailCellHtml (cognitive 17): run-report-viewer.RUN_REPORT_VIEWER::trailCellHtml has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 11 (15 pts), boolean chains 1, if/else 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":5911}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36c984b443ff8ea797b5c20fb8118f3ceed3dba54de58760a566cd3684c70d5"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-shell.RUN_REPORT_SHELL (cognitive 17): run-report-shell.RUN_REPORT_SHELL has cognitive complexity 17 (threshold 15). Drivers by points: if/else 56 (71 pts), boolean chains 17, ternaries 7 (11 pts), error handling 7 (10 pts), loops 1 (nesting depth added 22). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (run-report-shell.RUN_REPORT_SHELL::renderBytes) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a252b03dcc8ce1c7fc8c4d6f6af3b9cf553c091c831212a995b6a8882a88fb"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectorTsCodegen.formatTsDoc (cognitive 16): SelectorTsCodegen.formatTsDoc has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/SelectorTsCodegen.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e3e02907ce3f7303179fea2c5860839dbd1492e38f943bdaa69e619dd3f25d"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailmapTargetGenerator.buildExpectedTargets (cognitive 16): TrailmapTargetGenerator.buildExpectedTargets has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/TrailblazeBundledConfigTasks.kt"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9f352c44cfde3a4ec7e5c83f65d9059bf6e07921810fa19d23fee7a5639070"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeSdkDtsBundlePlugin.apply (cognitive 16): TrailblazeSdkDtsBundlePlugin.apply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/TrailblazeSdkDtsBundlePlugin.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"164303af9d9fb2e377c4dacbb774a5061a9c9400fdc0a4c86070a4f1f3f72afa"}},{"ruleId":"D2","level":"warning","message":{"text":"LiveFrameConsumer.pumpTeeIntoFfmpeg (cognitive 16): LiveFrameConsumer.pumpTeeIntoFfmpeg has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), error handling 1 (3 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/LiveFrameConsumer.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae55692f4be402ce7f596c636b408908d1f4267e95fbf7005ab1740a1c44adf"}},{"ruleId":"D2","level":"warning","message":{"text":"WallClockMuxConsumer.runDrainLoop (cognitive 16): WallClockMuxConsumer.runDrainLoop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (4 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/WallClockMuxConsumer.kt"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46e53a8672d124dada333319a0c3b13b1d4638742758bbfd017ded54889a9e4"}},{"ruleId":"D2","level":"warning","message":{"text":"AndroidDeviceLocale.apply (cognitive 16): AndroidDeviceLocale.apply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/androidMain/kotlin/xyz/block/trailblaze/AndroidDeviceLocale.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad368e310e452e15718233f69b38f7eff39dfb9d094619dc74f1e9828cd862fe"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeCompiler.compile (cognitive 16): TrailblazeCompiler.compile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 2 (3 pts), loops 2, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/compile/TrailblazeCompiler.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c2b43c69d29232001c8c48dbc9cfd64323ac548f6ee4af1329c4e2e2506c58"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailDiscovery.runDiscoveryWalk (cognitive 16): TrailDiscovery.runDiscoveryWalk has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, error handling 3, boolean chains 2, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailDiscovery.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f012fb681e6d370789674159c4c77f1438c4c009cf4ee671f7ac0e5cf88bf2e"}},{"ruleId":"D2","level":"warning","message":{"text":"MaestroYamlSerializer.createTapOnCommand (cognitive 16): MaestroYamlSerializer.createTapOnCommand has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, match/switch 7. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/maestro/MaestroYamlSerializer.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9d38719197a700f0c2f9c65aeda582af235f11fbd28677d03e727f7f112f25"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolMemoryInterpolationKt.interpolateViaClassSerializer (cognitive 16): ToolMemoryInterpolationKt.interpolateViaClassSerializer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 4 (5 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/ToolMemoryInterpolation.kt"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a49acbb5c374afed8894f5d6d9d2d53c32f96febd38a245c69fc1ddf706e8ca"}},{"ruleId":"D2","level":"warning","message":{"text":"HostAndroidDeviceConnectUtils.onInstrumentationOutputLine (cognitive 16): HostAndroidDeviceConnectUtils.onInstrumentationOutputLine has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, 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":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/HostAndroidDeviceConnectUtils.kt"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d69b4b49b05f26039c7e7650583c99d586ea66b93e29559e1fc523a44d63a0"}},{"ruleId":"D2","level":"warning","message":{"text":"ReportVideoExporter.export (cognitive 16): ReportVideoExporter.export has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ReportVideoExporter.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ee08f2571c9de66f25d28303812c9a83039647b1f799537ffaf45574e5eb4b"}},{"ruleId":"D2","level":"warning","message":{"text":"SegmentListCommand.call (cognitive 16): SegmentListCommand.call has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), loops 2 (4 pts), error handling 1, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SegmentListCommand.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b479ebb43a5ec0b3bbccfa17e94cfa193b498ec18ce8f4c94bb07e8417814bce"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillInstallCommand.call (cognitive 16): SkillInstallCommand.call has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), boolean chains 5, error handling 2 (4 pts), 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SkillCommand.kt"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"d462f8b5c207da5783115a8b7d551c65115eadbed25592617b78ef3dac7b96c9"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCommand.call (cognitive 16): ToolCommand.call has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 4, error handling 2 (3 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolCommand.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61d3214cde9e19ac7487c312375e4572a72cf28b9023428085c06c35e733776"}},{"ruleId":"D2","level":"warning","message":{"text":"ResolvedTargetReportEmitter.renderResolutionTrace (cognitive 16): ResolvedTargetReportEmitter.renderResolutionTrace has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 2 (5 pts), match/switch 1 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4fe5a610741a9747c99e93ba22e38ffa615cbad5dc71efe686b4de5f2bf952"}},{"ruleId":"D2","level":"warning","message":{"text":"AxeDeviceManager.dispatch (cognitive 16): AxeDeviceManager.dispatch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeDeviceManager.kt"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"32844c55ffbad56adc7d973f8b2eb4b7771e1fe182339389ba76f1530c27f959"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaywrightNativeHostDriverDescriptor.runPlaywrightNativeYaml (cognitive 16): PlaywrightNativeHostDriverDescriptor.runPlaywrightNativeYaml has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 2, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/playwright/PlaywrightNativeHostDriverDescriptor.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f88ea9a26dfcdd0cf7346ce7e94e7a15897b623f0e0faedada8019e5bee85e9"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceApiEndpoint.register (cognitive 16): DeviceApiEndpoint.register has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), error handling 2, match/switch 2, boolean chains 1, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/rpc/DeviceApiEndpoint.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7547d36cfe44c88e62b8b865f9ab059b7ca63ad71f6e417657faed38b1340d52"}},{"ruleId":"D2","level":"warning","message":{"text":"InProcessShellPackager.collectSurveys (cognitive 16): InProcessShellPackager.collectSurveys has cognitive complexity 16 (threshold 15). Drivers by points: error handling 1 (4 pts), if/else 2 (4 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76f5722ea94424fcc10c8bf4ebab880619380d30538fa0cf17914b8c8caac4d"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeMcpBridgeImpl.getDriverConnectionStatus (cognitive 16): TrailblazeMcpBridgeImpl.getDriverConnectionStatus has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (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":"trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ba1231c67c25be7b88cf811721ef296ceffe30236adf37516889d2de2bb2e4"}},{"ruleId":"D2","level":"warning","message":{"text":"DaemonScriptedToolBundler.bundleOneInternal (cognitive 16): DaemonScriptedToolBundler.bundleOneInternal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 5, error handling 1, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/DaemonScriptedToolBundler.kt"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2229f58c6794a5d67490059fa48dba6273b3b4f4d2b828465c28ba3d4df5a49"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailIndexBuilder.walk (cognitive 16): TrailIndexBuilder.walk has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailIndexBuilder.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8229efd6196aeb34187ce671ee0cb0034fa667ac6b52474b47c627c5cf429bb1"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeNode.hitTest (cognitive 16): TrailblazeNode.hitTest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, match/switch 1 (2 pts), 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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNode.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"313901cfdc2fa6d7095187d920b644abda42cefccaeff8295cae5d85c5a01917"}},{"ruleId":"D2","level":"warning","message":{"text":"Compose.description (cognitive 16): Compose.description has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelector.kt"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d5da70c3ecb18441c0aa961a9cf761206714ece7ea8245a9e9572c7f65de2b"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailblazeNodeSelectorResolver.matchesAndroidView (cognitive 16): TrailblazeNodeSelectorResolver.matchesAndroidView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"033488b24398b5fc02b486b7600c08e174495ea40ace7a08cec8a42e1f804a2d"}},{"ruleId":"D2","level":"warning","message":{"text":"PlaywrightScreenState.discoverHiddenCssTargetableElements (cognitive 16): PlaywrightScreenState.discoverHiddenCssTargetableElements has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 2 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e0eca1f1e8891ee9955f6ece2ae5412a4c1a16001c358a24cc93e9aec2fa03"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionEventsReader.readBoundedLine (cognitive 16): SessionEventsReader.readBoundedLine has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/utils/SessionEventsReader.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b447e5c250beb9702782bf62ee5cd58c7fd9490383ca8ea3f248279b2d5578c7"}},{"ruleId":"D2","level":"warning","message":{"text":"McpSubprocessSpawner.resolveFromClasspath (cognitive 16): McpSubprocessSpawner.resolveFromClasspath has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, error handling 2, loops 2 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-scripting-subprocess/src/main/kotlin/xyz/block/trailblaze/scripting/subprocess/McpSubprocessSpawner.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e53884c1efbf53ee6719544f75da252465f4a6766cb1531cc91ede7663dcb3"}},{"ruleId":"D2","level":"warning","message":{"text":"LogcatToolSet.logcat (cognitive 16): LogcatToolSet.logcat has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 1, error handling 1, match/switch 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/LogcatToolSet.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d4585e9528999a1eeebcda6bd20c68454c07fe7909907fcc47ee8bba7d4452"}},{"ruleId":"D2","level":"warning","message":{"text":"StepToolSet.ask (cognitive 16): StepToolSet.ask has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), error handling 3 (6 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"205656ab419c495976f58660da2109bf1ffffe69eed4b1cbccd5ff2e50878411"}},{"ruleId":"D2","level":"warning","message":{"text":"TrailExecutorImpl.execute (cognitive 16): TrailExecutorImpl.execute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), loops 3 (4 pts), error handling 1 (3 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailExecutor.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad40e012d56ab07266317065f63774c115add84a052520603abca96a0f976a1"}},{"ruleId":"D2","level":"warning","message":{"text":"mitmproxy_netcapture.decide_body (cognitive 16): mitmproxy_netcapture.decide_body has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 3, error handling 1 (2 pts), ternaries 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/networkcapture/mitmproxy_netcapture.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c91c3c8658c030eb9441aae8ca3471fc2fcc697ba89ddf930987cdcf710c36"}},{"ruleId":"D2","level":"warning","message":{"text":"trailhead.attachTrailheadReportToResult (cognitive 16): trailhead.attachTrailheadReportToResult has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (7 pts), boolean chains 5, if/else 3 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/trailhead.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"3719689190a94b94509c91453db0eb4b9525f1f85de42d3932b37d165f59f021"}},{"ruleId":"D2","level":"warning","message":{"text":"resolver.matchesAndroidView (cognitive 16): resolver.matchesAndroidView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46b9fd90058211ba8121c2a4e4f62523435fef728204fc4b40a7910af9feb3b"}},{"ruleId":"D2","level":"warning","message":{"text":"resolver.translateQuoteSections (cognitive 16): resolver.translateQuoteSections has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 1 (4 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":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7a3d0b9366c148ea2503f839f8b3dd86db116f33408e7d9e89657850b6bdd0"}},{"ruleId":"D2","level":"warning","message":{"text":"session.loadScreenText (cognitive 16): session.loadScreenText has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 3, loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/session.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"c176ee51795c20a3f34fd479f81c3ed5b1c7d5b01f6463280548364730fbc6a4"}},{"ruleId":"D2","level":"warning","message":{"text":"stream.eventStream (cognitive 16): stream.eventStream has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stream.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"69815ea93773e5d43622d630c3d54af1d78aa72671ead97110142018f79dfdb5"}},{"ruleId":"D2","level":"warning","message":{"text":"report.renderMarkdown (cognitive 16): report.renderMarkdown has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (8 pts), loops 3 (4 pts), boolean chains 2, if/else 2 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"sdks/typescript/src/surveys/report.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a55ac1b4f5862c437ef7ff2be533f331fc20c3dd43068016471e7bc6638a7d"}},{"ruleId":"D2","level":"warning","message":{"text":"waypoints.screensOf (cognitive 16): waypoints.screensOf has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 5, loops 3, ternaries 1 (nesting depth added 3). Of this number, 10 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/waypoints.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f52f6751c4b4c69425e4d78b9b5a232ec5d95d0e6a98b7f0daa81b37628c97"}},{"ruleId":"D2","level":"warning","message":{"text":"run-payload.collectShots (cognitive 16): run-payload.collectShots has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 4). Of this number, 11 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42f806d4187dec65d03c277a5d2aea25ed88e4601c8e8a86958933e0dcbc84b"}},{"ruleId":"D2","level":"warning","message":{"text":"blaze.BlazeScreen::blaze (cognitive 16): blaze.BlazeScreen::blaze has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (blaze.BlazeScreen) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5efe337958668c00941e34a068e61afed81f6a7d48f2b08ae61fd949299669"}},{"ruleId":"D2","level":"warning","message":{"text":"companion.CompanionReviewAsk (cognitive 16): companion.CompanionReviewAsk has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 25, if/else 13, ternaries 6 (9 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (companion.CompanionReviewAsk::send) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a904464b079ca33e17e9637f4a08d923d43582aa536f1f3598b72e7e384b399"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.AgentPermissionBar (cognitive 16): external-agents.AgentPermissionBar has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 5, ternaries 2. Of this number, 9 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"050087073c4b3a4c33d1b57fc11a1625060873a6648722ebc73db63840f1d544"}},{"ruleId":"D2","level":"warning","message":{"text":"external-agents.AgentDeviceEventLog (cognitive 16): external-agents.AgentDeviceEventLog has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 4, ternaries 3. Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 2645, 2637, 2643, \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2636}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcf07360912df6bf82d2011d29d49721fa2233230cfb03ff6b7a3610c513660"}},{"ruleId":"D2","level":"warning","message":{"text":"record.parseTrailhead (cognitive 16): record.parseTrailhead has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), boolean chains 5, ternaries 2 (4 pts), error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d53ab0d643afc9a07065f77a250bd1789d0aef64e9bf6d5e038cb843ad7c59b"}},{"ruleId":"D2","level":"warning","message":{"text":"trail-yaml.parseRecordStepTools (cognitive 16): trail-yaml.parseRecordStepTools has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (4 pts), boolean chains 2, error handling 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd68c2982e78bebc1a076886b13b446e3f3d7a4aaf4746955abb93b2b32ccc97"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-extract.captureEndTs (cognitive 16): run-report-extract.captureEndTs has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 3 (5 pts), ternaries 2 (4 pts), 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfab95e3d14d67f011ff31688fdaf38b387ed0915b7e2561860f33fea2a3d1e"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-compare-model.eventLines (cognitive 16): run-report-compare-model.eventLines has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 4). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (emit, a function literal at line 918). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf80699b4858c3cdf40e38fbc0a8344cd00062fcd58958c62461d68ca9de65f"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-perfetto.streamRowSizes (cognitive 16): run-report-perfetto.streamRowSizes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 3 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-perfetto.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44cc6dc42fa28bbd62960e3b77da53daa05410af8fb1dc724dca9535dba0c79"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary-model.runIfCondition (cognitive 16): run-report-summary-model.runIfCondition has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 5 (7 pts), boolean chains 2 (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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c248139656c920c66ecfc8284f25c30d00311f604eff9bb4aeedda1b8ed1461"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary-model.eventLabel (cognitive 16): run-report-summary-model.eventLabel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"be018632ec1a883d1426eefc1ba6c417248b5e264412d768a942ba90933fad95"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-summary-model.networkCallNote (cognitive 16): run-report-summary-model.networkCallNote has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (6 pts), if/else 5, boolean chains 4, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ed958ebbb1e8054e08df4d371ebbf2340cdb5691076add8d52296ef58f5e24"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::parseFailure (cognitive 16): run-report-viewer.RUN_REPORT_VIEWER::parseFailure has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 5, if/else 2, error handling 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2434}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1510e92ba7d4864d78cd62f5119677539f6b2fc157c15d7030f6177446f7e1"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-viewer.RUN_REPORT_VIEWER::renderTrailToolbar (cognitive 16): run-report-viewer.RUN_REPORT_VIEWER::renderTrailToolbar has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 12 (14 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: 41 other methods here (run-report-viewer.RUN_REPORT_VIEWER, run-report-viewer.RUN_REPORT_VIEWER::shotClipMark, run-report-viewer.RUN_REPORT_VIEWER::seedSessionDetail, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 42 times rather than 42 independent problems. Splitting this body alone leaves the other 41 exactly as they are. Where these are variations on one operation, the change that clears all 42 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7228}}}],"partialFingerprints":{"codehealthFindingId/v1":"302076f95bc8c447958145bf26c31ccdf80b561477170f07c1ce34f3044e4325"}},{"ruleId":"D2","level":"warning","message":{"text":"run-report-shell.RUN_REPORT_SHELL::renderBytes (cognitive 16): run-report-shell.RUN_REPORT_SHELL::renderBytes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 2 (3 pts), ternaries 1 (2 pts), boolean chains 1, 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. This shape REPEATS in the file: one other method here (run-report-shell.RUN_REPORT_SHELL) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1ee8d5cb76e4f97fe76a0428313a3a7c1c45148ff7094b8bee7089f2fad5eb"}},{"ruleId":"D2","level":"warning","message":{"text":"zip-report-core.sessionObjectUrls (cognitive 16): zip-report-core.sessionObjectUrls has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 898, add, a function literal at line 902). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"29debc77751b8f34f3ba9c85dd37ff5fac9867afa862eac7c66c74a6c980cab0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/run-report-viewer.ts: FileTooLong \u2014 7288 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6788 over it, 14.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3c5e391cc8eb0d01f94af54cefaa2e3ade62e963a279735471291db366998f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: waypoint-graph-template.html.SubwayView: FunctionTooLong \u2014 SubwayView runs 535 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 435 over it, 5.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"012af05231fd982a5c827cd8566f30368f4fb81d4ed1999bf38b5c820950729d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TrailCommand: ClassTooLong \u2014 2083 significant lines (blank, comment-only and punctuation-only lines excluded), 59 methods. The bar is 400 significant lines; this is 1683 over it, 5.21\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbafb97c2079429c6ae41910e62b7b9c35d62ad29af5c8ba139a6c9caea8d030"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/TrailCommand.kt: FileTooLong \u2014 2206 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: TrailCommand (126-4299). The bar is 500 significant lines; this is 1706 over it, 4.41\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e52965064d239561a2ba8a7db6937d30f88687ff6177d744b7565908f29ca9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/external-agents.tsx: FileTooLong \u2014 2078 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1578 over it, 4.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c56f65e8dbc927eeb62155ab0c2bca58fc6be1a41056072ff02ad210eb6d6f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TrailblazeMcpBridgeImpl: ClassTooLong \u2014 1634 significant lines (blank, comment-only and punctuation-only lines excluded), 80 methods. The bar is 400 significant lines; this is 1234 over it, 4.09\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb9c8ee42525e1a30c0200a205344c167017ce6db19dc33e7c0baa009756d84"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-report-shell.escapeHtml: FunctionTooLong \u2014 escapeHtml runs 407 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 307 over it, 4.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b10662ef5102bdeb92233380ba286a13bac62b7b3e124bb01ccef70b3f0248"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: trailrunner/ExternalAgentSupervisor.kt: FileTooLong \u2014 1985 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1485 over it, 3.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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExternalAgentSupervisor.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ba4f50ab8074e87eda8563da64a720886627566b7de3629d4447ca4da34574"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DesktopYamlRunner: ClassTooLong \u2014 1583 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 1183 over it, 3.96\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/yaml/DesktopYamlRunner.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"54346befc278ad3e167e7f720d31df0af9f1aba1105107b06f1b18cbdd597a48"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/record.tsx: FileTooLong \u2014 1910 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1410 over it, 3.82\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74978e55c96580ae2ba198625a1bc726b89e97675ee17ebd55c379895c6413e2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TrailblazeMcpServer: ClassTooLong \u2014 1447 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. The bar is 400 significant lines; this is 1047 over it, 3.62\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":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bdfb85cf3114b5028325431c2fc96d3bd784244f0326689b05f70dcfdbe844"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp/TrailblazeMcpBridgeImpl.kt: FileTooLong \u2014 1756 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: TrailblazeMcpBridgeImpl (126-3612). The bar is 500 significant lines; this is 1256 over it, 3.51\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebc83c7047c470ca92711db59ae4088305c09179ffc9e0627f13ddf5367f93c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sessions.SessionsScreen: FunctionTooLong \u2014 SessionsScreen runs 340 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 240 over it, 3.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48f5bf0c573e0811a05a5cfc85e2b19c3b455d6f918b57e006df899659e11c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: yaml/DesktopYamlRunner.kt: FileTooLong \u2014 1691 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: DesktopYamlRunner (111-3217). The bar is 500 significant lines; this is 1191 over it, 3.38\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/yaml/DesktopYamlRunner.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f4797dde9f9976b1dd4ceebf9cb66ae01c669ff2491394f7b0f73d011e4894"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/TrailblazeMcpServer.kt: FileTooLong \u2014 1646 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: TrailblazeMcpServer (211-3483). The bar is 500 significant lines; this is 1146 over it, 3.29\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dcab2442a2df1f2e157a16e14a96c47b52d5c693e8805d61b41c6582c95ae3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrailCommand.runTrail: MethodTooLong \u2014 runTrail runs 306 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 206 over it, 3.06\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47d4e03611eabbd6c83406504fd2c2864b25ae6324c057e5a9e87fe1edd72c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/run-report-summary-model.ts: FileTooLong \u2014 1519 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1019 over it, 3.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ba1c480907d528cb0e06f346f08bdcfe2c9c0e8e1100470d95f40a9ac93ba8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: trail-tree.TrailTree: FunctionTooLong \u2014 TrailTree runs 300 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 200 over it, 3.00\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b4ceccb1c48a8c6a9ae7e1466f12ce918e4e57115ebe7103a99d81731a9455"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TrailblazeAccessibilityService: ClassTooLong \u2014 1168 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. The bar is 400 significant lines; this is 768 over it, 2.92\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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0493eb139cd79f9f292e2e23b88d7fe982656888f0c7278625e49fd064929e9d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExternalAgentRoutesKt.externalAgentRoutes: MethodTooLong \u2014 externalAgentRoutes runs 286 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 186 over it, 2.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExternalAgentRoutes.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2431695cf8d074ddb453c678bf172fcec9d8f3f077df8cb273253c716fc458a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/run-report-summary.ts: FileTooLong \u2014 1414 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 914 over it, 2.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e84659cbf615bc2d14785d62912d20acdd14e3862f33339d5e6fe6b6e7d22d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: graph/waypoint-graph-template.html: FileTooLong \u2014 1392 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 892 over it, 2.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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8ff78f26eddec2c78984a89870ec0c07157fa4aad8951ea36ebcd26187f220"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: blaze.BlazeScreen: FunctionTooLong \u2014 BlazeScreen runs 274 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 174 over it, 2.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec057bdfff061ca7f7224817f45fac0a46f92f15a77d18e6d7cdd9fe044ce269"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TrailblazeMcpBridgeImpl: TooManyMethods \u2014 80 methods. The bar is 30 methods; this is 50 over it, 2.67\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"71674bf5dd91f13c6f635bcc79627197376ddfa1f634e43da505109dd1abf022"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TrailblazeDeviceManager: TooManyMethods \u2014 80 methods. The bar is 30 methods; this is 50 over it, 2.67\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/TrailblazeDeviceManager.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db4feeb62c90eed6fe0f3ae358b076c9aa70294ab86f57e0f5774f73fcf4b4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: accessibility/TrailblazeAccessibilityService.kt: FileTooLong \u2014 1318 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: TrailblazeAccessibilityService (62-2783). The bar is 500 significant lines; this is 818 over it, 2.64\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2f19e781da8ddb2abfebb3b9b267414a8a39704c7ea3d7eee2ab79bbd80351"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Companion: TooManyMethods \u2014 79 methods. The bar is 30 methods; this is 49 over it, 2.63\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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca052109e27afb942626d9c85f3142df1205224a2d74210cd57df015bbca59ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/CliInfrastructure.kt: FileTooLong \u2014 1254 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 754 over it, 2.51\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"103ac4e3ba3adbc22b086c1e5b4c38227ff48225c1f3519f3282944e238ea629"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/TrailblazeDeviceManager.kt: FileTooLong \u2014 1218 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 718 over it, 2.44\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/TrailblazeDeviceManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f3e1b7f9a382a4f3f4c5506b6d96022b9a0e14745d1ac6ee3746514a382aec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExternalAgentSupervisor: TooManyMethods \u2014 73 methods. The bar is 30 methods; this is 43 over it, 2.43\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExternalAgentSupervisor.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fc14d6d4f6130d05859233124d5777b16465f455758fc0ff9df92caffa4435"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: playwright/PlaywrightScreenState.kt: FileTooLong \u2014 1194 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 694 over it, 2.39\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":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"068e16b734ec68633948fc15ae79181f7013f20036b7788667dc6260fcc75c60"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrailblazeMcpServer.registerToolsLocked: MethodTooLong \u2014 registerToolsLocked runs 234 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 134 over it, 2.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":2587}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee068274cbaa5614002779e0b3d47fdf84c3914e21e5f544082e0a92e3eac214"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: live-device-stream.openLiveDeviceStream: FunctionTooLong \u2014 openLiveDeviceStream runs 232 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 132 over it, 2.32\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a2afb80d152a588496bbc822a91bfea5573b82ef2b579295edd4fd6c5ff7d6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RevylHostDriverDescriptor.runRevylYaml: MethodTooLong \u2014 runRevylYaml runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"684b542407edb1e6438134eb8f7ab2dd65a85ac9f4122d6d94bef7d9d5d85d55"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: trail-detail.UnifiedStepsBoard: FunctionTooLong \u2014 UnifiedStepsBoard runs 223 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 123 over it, 2.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e574bb7b479598e150f7d871031bede62cb042dfe798200a64c8eade137b918"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrailblazeMcpServer.startStreamableHttpMcpServer: MethodTooLong \u2014 startStreamableHttpMcpServer runs 221 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aaea20b049f14a01738ce85f57ce0fb1a3b7add7f2a061cc482e64782fde88a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StepToolSet.step: MethodTooLong \u2014 step runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a87979927f42c12834b5e15ac3c46085f1e9df7196ae36b3540e410d1c59024"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: settings.SettingsScreen: FunctionTooLong \u2014 SettingsScreen runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe019c9d2286baff8e8411aea0d6faf76853e8b19bd8371df987b24a1c93ee60"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/run-report-extract.ts: FileTooLong \u2014 1070 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 570 over it, 2.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b5f0d067a90ed63d687e6a127e37f22ee67be60812d9d7c438050fbcf48870"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SessionRoutesKt.sessionRoutes: MethodTooLong \u2014 sessionRoutes runs 213 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e6910d65b2f03204e698ef295628f9c5cb13062ce10786c85832d9cd6b40ca"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ComposeHostDriverDescriptor.runComposeYaml: MethodTooLong \u2014 runComposeYaml runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"33820bf8d43deb6ff9c4f56f9ea75661f575b14a7a857e5964643f03df97200b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RunYamlRequestHandler.handle: MethodTooLong \u2014 handle runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\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":"trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/handlers/RunYamlRequestHandler.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"15df3ab56e13ef6a7cf3396587c704c620cf9f28b828c1dab5c9ca5e6fb89e21"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/run-report-theater.ts: FileTooLong \u2014 1020 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 520 over it, 2.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f90880e68bcd41094b3175208f066a4d5706cfc16bbfc40c94d8fda8df0427"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: waypoint-graph-template.html.App: FunctionTooLong \u2014 App runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f7c641e81cce906454caa8d5bc719316bbfaec5470959a593497fdd8162f0e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReportCommandKt.generateSessionReport: MethodTooLong \u2014 generateSessionReport runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ReportCommand.kt"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c30f60b618fb84e07108181a355eabfef40a60229cc3895ad6788604b15b078"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AndroidHostAdbUtils: TooManyMethods \u2014 60 methods. The bar is 30 methods; this is 30 over it, 2.00\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":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/AndroidHostAdbUtils.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cd54612de90eca8de385a39ef8ea09eec1ee55f4a7b8a15c17762ac85b99cb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KoogStrategyGraphHostRunnerKt.runPromptsWithKoogStrategyGraph: MethodTooLong \u2014 runPromptsWithKoogStrategyGraph runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mcp/agent/KoogStrategyGraphHostRunner.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabddbf4abdab844cbbdff4786cfd6987b64e40543ccf3396da2c60a2f8e67fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/SessionCommand.kt: FileTooLong \u2014 987 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 487 over it, 1.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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea059ab6b680a7331b1c60b11432da1637bfe39575f1751a5e9cc20f766a0c35"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: host/TrailblazeHostYamlRunner.kt: FileTooLong \u2014 986 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 486 over it, 1.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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f888ba926d86ecec35716dfa551111a5dc4aca761451df9d32c2801c62e653"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TrailCommand: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"54004ff2ef62c972a4137162ef9deea5fd949365b512939b7c44a5bc6407ce0d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TrailmapTargetGenerator: ClassTooLong \u2014 782 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 400 significant lines; this is 382 over it, 1.96\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":"build-logic/src/main/kotlin/TrailblazeBundledConfigTasks.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c66861dee166cfaa2d79ec8acabe220e45e4732c9446e796bd3b919f6096593"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/steps-board.tsx: FileTooLong \u2014 972 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 472 over it, 1.94\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed589da3d05c8a5a1e1bf85419c0d2efab52135810a04299df2800500257d108"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-report-extract.extractTrace: FunctionTooLong \u2014 extractTrace runs 186 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 86 over it, 1.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedbe0cef0195e35c7c253fa4450d75e26e8ecf4907ab5c6ec6b4931681172eb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CliMcpClient: ClassTooLong \u2014 729 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 329 over it, 1.82\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"553aa24275591c73fd8af568ec05a5fd5b9f5fb89ca8b7e3f60ba1d75a49b48f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: project/TrailblazeProjectConfigLoader.kt: FileTooLong \u2014 908 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 408 over it, 1.82\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailblazeProjectConfigLoader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed26231500f9543c20680ee35a3497e98833bb90a3a4b0daf21b9a349aabbca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/CheckCommand.kt: FileTooLong \u2014 908 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 408 over it, 1.82\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CheckCommand.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bf41ab356b1cf6d0e254d2c1bff7619012da8d4ec0d65e794b503cb9d35bb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kotlin/TrailblazeBundledConfigTasks.kt: FileTooLong \u2014 887 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: TrailmapTargetGenerator (243-1698). The bar is 500 significant lines; this is 387 over it, 1.77\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/TrailblazeBundledConfigTasks.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b62e12c6512441aeacb60ede956775afdb4adf031b3138005e8fae937335c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/run-report-compare-model.ts: FileTooLong \u2014 884 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 384 over it, 1.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3a15807b7ecc5df09e4c84fb9f56d59aac126a25d5932543693c28d5408a2d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GenerateTestResultsCliCommand: ClassTooLong \u2014 706 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 306 over it, 1.77\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":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"38523b71031d529f4e6f03fbf5016af69da97ff4c553d268dab417a8c8865896"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/run-report-theater-model.ts: FileTooLong \u2014 879 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 379 over it, 1.76\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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60a6cc6cdeab47076c4a67532cfbf3978fb322607adaff001b820190004ac17"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StepToolSet: ClassTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 300 over it, 1.75\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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"deccf2e9b6dfb49898418a639bffd085151da040dfed430f8ecaaa3151af1712"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: McpProxy: ClassTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 400 significant lines; this is 296 over it, 1.74\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/McpProxy.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e88e5cbfeb43198873ab995cc182c40eca30a718f2ad7ed666acf801ac548a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: newtools/ToolDiscoveryToolSet.kt: FileTooLong \u2014 868 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 368 over it, 1.74\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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ToolDiscoveryToolSet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"357da193062a5cbc2ea06940d28b500e9cc1a9b6ab917d8b845e1525603a61c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/McpProxy.kt: FileTooLong \u2014 867 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: McpProxy (99-1855). The bar is 500 significant lines; this is 367 over it, 1.73\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/McpProxy.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40c929b5075a21dacde438a40af3ca20209a587a50de19607abe115a2c9b7e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Companion.fromLogs: MethodTooLong \u2014 fromLogs runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/models/SessionSummary.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf7a431a2c206ef2db0b5cdabf8da8011034afa36d155b8265b3d1b04ad77fe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HostAndroidDeviceConnectUtils.connectToInstrumentationExclusive: MethodTooLong \u2014 connectToInstrumentationExclusive runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\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":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/HostAndroidDeviceConnectUtils.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e54df7d5061b528c721c85201909ed8d159f0e0af6b7c58e44e46be74ea0737"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenerateTestResultsCliCommand.run: MethodTooLong \u2014 run runs 171 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\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":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"413fec92044f69a960ebb84f37806db9a411d85f84a6f62343d1948d8b893fd6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TrailblazeMcpServer: 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":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"708095de630017ccfec96837dc801c66d073405991fe0e963e13c08f4a149ccd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrailCommand.delegateToDaemon: MethodTooLong \u2014 delegateToDaemon runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc0e4cecf644c63c78d8a0ca169e7c991fbeaaa9860a123f98baf0f4d16304d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DeviceManagerToolSet: ClassTooLong \u2014 667 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 267 over it, 1.67\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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"570f176da69de72e8f60ed3fac2c0a196ce4ab9a317e760c772308dced72c6f9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WaypointMigrateTrailCommand: ClassTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 265 over it, 1.66\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointMigrateTrailCommand.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7599c4c8ffe9a124e6b467c166b13b3758fc3877a7474d50477edeeacb83176"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: util/AndroidHostAdbUtils.kt: FileTooLong \u2014 826 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 326 over it, 1.65\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":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/AndroidHostAdbUtils.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17bd4185f2c58a0072c3c9b9ef5e7c266c6e943e3c498d7a240a49c84047890"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-report-clip-player.adopt: FunctionTooLong \u2014 adopt runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7e88972e7e9c73170b4f7d428d63472f32dc42a566d5d68961a6b08279171b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrailblazeRecordingGeneratorKt.generateRecordedTrailItems: MethodTooLong \u2014 generateRecordedTrailItems runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailblazeRecordingGenerator.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceab4e3d86a49476e507b09bde95e7f6f9b5d84ee08ed0065232264d6ee28c9d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LoggingDriver: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.63\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":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/maestro/LoggingDriver.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5558579cdc61a7cfb4245346afbdff15938eaa9e67554dfa11e2fda03593e8ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: newtools/StepToolSet.kt: FileTooLong \u2014 816 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: StepToolSet (65-1288). The bar is 500 significant lines; this is 316 over it, 1.63\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ba96ce5ed64f3567bffcc823b022d555dee671106311502ac478f148b9ac33"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: accessibility/AccessibilityDeviceManager.kt: FileTooLong \u2014 815 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 315 over it, 1.63\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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityDeviceManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e6bd40808c4c58cc01994226dbfc3e68f41aeedab6603c5d5c0ce464e19574"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: daemon.createDaemonRpc: FunctionTooLong \u2014 createDaemonRpc runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/rpc/daemon.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2025274d60fb3c10b9c3b6fb68cb5e71743faf54196c412463645816c56324a0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NextMoveDecisionLlmClient: ClassTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 233 over it, 1.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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/decision/NextMoveDecisionLlmClient.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5103649f72b9b5792a9a6811d89a30dca80d5ea66a1d98ba7a9560fa346800c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: report/GenerateTestResultsCliCommand.kt: FileTooLong \u2014 786 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: GenerateTestResultsCliCommand (102-1299). The bar is 500 significant lines; this is 286 over it, 1.57\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa9ad4c6477e62d252a41368dfaf1ccb2c0d4a7508d549a00939d1f52f53a21"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CompanionRoutesKt.companionRoutes: MethodTooLong \u2014 companionRoutes runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/CompanionRoutes.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8d48c31630a4aff94a35e92f4fcc39aef078806b0f115fb5f6a8315fd34687"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AccessibilityDeviceManager: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityDeviceManager.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e019292b246ace8890cdc6ba6dcf25b353fec5aea5f555f756230a5eaa9f49"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tools.ToolsScreen: FunctionTooLong \u2014 ToolsScreen runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"455b2e2e8fa717a9d852572bbc559626761ab10b769e58d5c7d892e786edf819"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DriverNodeDetail: ClassTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded), 0 methods. The bar is 400 significant lines; this is 220 over it, 1.55\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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/DriverNodeDetail.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6e0fb2b805f074b90c1f7559d24c7fdec78a43fdd864008955b10e30cc44b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: cli-main.runSurveyCli: FunctionTooLong \u2014 runSurveyCli runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/cli-main.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"071987e3e4d3f8d99b487c6ee45ea100bccc79ffabc4f52f7707a3aa18f89b73"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/CliMcpClient.kt: FileTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: CliMcpClient (55-1811). The bar is 500 significant lines; this is 270 over it, 1.54\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d28968c69b09f4ca7566f8e38083e577cab784ae7ed3db1c292eb4f006f02e6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TrailMcpTool: ClassTooLong \u2014 614 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 214 over it, 1.54\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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailMcpTool.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"17384bc75ad3d61fbc89bfa0d248b980133149c70179e910060d508657308ac7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: proto/OnDeviceRpcProtoCodec.kt: FileTooLong \u2014 767 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 267 over it, 1.53\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":"trailblaze-ondevice-rpc-proto/src/commonMain/kotlin/xyz/block/trailblaze/ondevice/rpc/proto/OnDeviceRpcProtoCodec.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca11b6f7db2209251a5d92405b41332003933f7f383c4790619b654b9d12eb0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ToolDiscoveryToolSet: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ToolDiscoveryToolSet.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a779e169a8f740b38cbbff95a5611a0415a31f3f9307dabc1ee954064040a99"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/data-core.tsx: FileTooLong \u2014 764 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 264 over it, 1.53\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a450091ff6a42c77634acc522fecb05c06362d99f17165008fa80b8afaef2f79"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/perf-viewer.ts: FileTooLong \u2014 764 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 264 over it, 1.53\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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88132d724bd0b30ceeabb7df9a9f44fafee6528d4006e44155c73670a8f4ce4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LogsRepo: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\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":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/utils/LogsRepo.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"728d8d61106c2b0269cfad6a53831a10d821f059db10d227da3f34b8abc88cfa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordRoutesKt.recordRoutes: MethodTooLong \u2014 recordRoutes runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RecordRoutes.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"734ad81881744bcfbd495d005532e3927be06e212aecff5cbd8ce672307da37c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TrailblazeTrailRunner.swift.top-level code: FunctionTooLong \u2014 top-level code runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/native/TrailblazeTrailRunner.swift"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ae88f82987c69ed0c0f19ec256b7597c0883ad675da6b0b14b0c868dcfb160"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnifiedTrailAdapter.mergeRecordedClassifier: MethodTooLong \u2014 mergeRecordedClassifier runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailAdapter.kt"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5e8d01dd20b90a9ab048c4a4b4235c6c8d031d467ff40001644f7ff18731f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/run-report-shell.ts: FileTooLong \u2014 748 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 248 over it, 1.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60797906becd0dc549064abd551443274f57b2c1ce4ce7bc9cdbcc4ccb1da0e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BlazeRoutesKt.blazeRoutes: MethodTooLong \u2014 blazeRoutes runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/BlazeRoutes.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c34e9e16157b37b045728a6a405e19bf02db8ecbbe4acfecaa02dfe10776a1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: trailrunner/TrailRunnerDtos.kt: FileTooLong \u2014 744 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 244 over it, 1.49\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRunnerDtos.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff96915c348dc564ee35369f143fbc9a6faf99bbbe99749d95fb0e818b02362"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SessionToolSet: ClassTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 190 over it, 1.48\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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"61701708296add2a22ce93caaee24c830e582fd32a5c63c988e781a9b4f3965f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: host/ResolvedTargetReportEmitter.kt: FileTooLong \u2014 732 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 232 over it, 1.46\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a769b7092b9ff0b68933aab78e32b5ebfbfaafbbe89b9d05281717b28ad0971"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrailblazeMcpServer.addToolsAsMcpToolsFromRegistry: MethodTooLong \u2014 addToolsAsMcpToolsFromRegistry 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":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"5037587db212fb80a4a4cd2e6768a1395750a4b637a2534731c1becc4f113da2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WaypointMigrateTrailCommand.call: MethodTooLong \u2014 call runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointMigrateTrailCommand.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6701c20db1b4dac7d8735e45b753657c1d3a98afcac9caf43e7034f9dedf7e62"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QuickJsToolHost.evaluateMemberOnEngine: MethodTooLong \u2014 evaluateMemberOnEngine runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolHost.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f2a98554d227811750b54a1af2a856b423edab740e363f221eac898defb034"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeviceManagerToolSet.device: MethodTooLong \u2014 device runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"65484b61d6b85336ce3366dc02c0fae7015bb4de1fea8e0581b0e1544f11155c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/WaypointMigrateTrailCommand.kt: FileTooLong \u2014 713 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: WaypointMigrateTrailCommand (120-1430). The bar is 500 significant lines; this is 213 over it, 1.43\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointMigrateTrailCommand.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"840fec9167a65f5df2ba6ed8c78bd6c73db7647405c0cfb264f56353b6a4f21a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: trailrunner/RecordRoutes.kt: FileTooLong \u2014 713 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 213 over it, 1.43\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RecordRoutes.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a008ee88ea247b95f5ad2fc0af405da56b5b8ea35ac82d258178ab1a39c83ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/trail-detail.tsx: FileTooLong \u2014 711 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 211 over it, 1.42\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0809e893feb9d3fd73f5393222b90059a0f616b593a5b2cd68635e4c9c670ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: newtools/TrailMcpTool.kt: FileTooLong \u2014 710 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: TrailMcpTool (34-880). The bar is 500 significant lines; this is 210 over it, 1.42\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailMcpTool.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3778bb6671bb164b37400a1156a1bd82a318f89b8249747cb24fcf6617178a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/shell.tsx: FileTooLong \u2014 708 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 208 over it, 1.42\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c3228619ba9de93e587af746f41c510b7b0d98191e3feab4af7c05193ec6ba"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IosViewHierarchyFilter.findVisibleViewHierarchyTreeNodes: MethodTooLong \u2014 findVisibleViewHierarchyTreeNodes runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/IosViewHierarchyFilter.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"71661c3df93398fae4fa5e137fe15f358e4a1b889058bf2db26e3ef25a93f27b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: newtools/DeviceManagerToolSet.kt: FileTooLong \u2014 704 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: DeviceManagerToolSet (49-1380). The bar is 500 significant lines; this is 204 over it, 1.41\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e44e6756858f9ce8355d40d8bbef85aa406a69a178af21176cce1a05930f424"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UnifiedTrailAdapter: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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":"trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailAdapter.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"344fa3051b7f4a5d3f1b35f274dd653fea83c9fd01c9d7619fd718abb7b28b33"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/ui.tsx: FileTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 200 over it, 1.40\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff88a07f2d0c55b9971379e5f3604eb692f4332cc3a7ff5929999e335e139043"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: newtools/SessionToolSet.kt: FileTooLong \u2014 691 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: SessionToolSet (43-940). The bar is 500 significant lines; this is 191 over it, 1.38\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1103e38b237cb8fb9ee9c6f512550b62ce9e21aae4f01ab695914affc45785"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kotlin/TrailblazeAndroidGradlePlugin.kt: FileTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: val (716-1625). The bar is 500 significant lines; this is 190 over it, 1.38\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-gradle/src/main/kotlin/TrailblazeAndroidGradlePlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceb946946362ffd05e4af2c4703531230f0d1926679562ca60da83778e32ad3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: demonstrate.DemonstrateFlow: FunctionTooLong \u2014 DemonstrateFlow runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d520768f70d677056cd6625f679a7ef8a0e9c852d71287e10442f67835e107e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: android/AndroidTrailblazeRule.kt: FileTooLong \u2014 685 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: maxLlmCalls (204-1537). The bar is 500 significant lines; this is 185 over it, 1.37\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/AndroidTrailblazeRule.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"013124ec4a3fea85559ebaeb0ad90c49f647f3a1a3f2f4c850f0c27a83044edd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/editor.tsx: FileTooLong \u2014 685 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 185 over it, 1.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1338ecc5ddf702f9052cc768c8096615521eff2790f75a29997e845c9422c8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrailblazeMcpBridgeImpl.selectDevice: MethodTooLong \u2014 selectDevice runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ba83d60b7cdcb75d061aa63eecb9ec98fbaac54f9cff73a1e4ad050489c53c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: unified/UnifiedTrailAdapter.kt: FileTooLong \u2014 681 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 181 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2629246aa56cd4cd090d650c7ed3eb7835d7edd45545f2c1d51a6d3aae15beaf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/ReportCommand.kt: FileTooLong \u2014 676 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 176 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ReportCommand.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bb94571bd443b5a2a5ff8887af3051c97bcbef945b1492454d39ba3bc93bdb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: monaco-lsp.mountLsp: FunctionTooLong \u2014 mountLsp runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"1889fae02977a35e5688a803cae1a5c5a17b5b38c7afc2aabaa8c9cc29696a72"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/zip-report-core.js: 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77e82229ef39fd3dcf6ed79c39015c959fa1d3f53016c05d6a8e4ce51638da2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: decision/NextMoveDecisionLlmClient.kt: FileTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: NextMoveDecisionLlmClient (85-1070). The bar is 500 significant lines; this is 170 over it, 1.34\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/decision/NextMoveDecisionLlmClient.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8da866ca1cbe35bd0400650e24e9f732cea0d7ecbb0dc8d438e226c2cc94d9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ViewHierarchyOnlyDriver: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/matching/ViewHierarchyOnlyDriver.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eae391b2174b02b0708c72d3b3e7d22420e8653ec9ba4a6938004baceefebe1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TrailblazeMcpSessionContext: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpSessionContext.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"327bceb601b5264405e281e231665525b687ba953f7eba7e98480e45b764cf5b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenerateAndroidTrailJUnitShellsTask.generate: MethodTooLong \u2014 generate runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"trailblaze-android-gradle/src/main/kotlin/TrailblazeAndroidGradlePlugin.kt"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"15feb2c7bdb7f5b889a51aa67a23d3c6234b306b03e7561f1b66bb5554e72cb1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Companion.awaitTreeStable: MethodTooLong \u2014 awaitTreeStable runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdde041204da23d9d6319844b61799d219a939509360d618573cfaec6cc11f7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InlineScriptToolServerSynthesizer.renderWrapperScript: MethodTooLong \u2014 renderWrapperScript runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"trailblaze-scripting-subprocess/src/main/kotlin/xyz/block/trailblaze/scripting/subprocess/InlineScriptToolServerSynthesizer.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f4095fddb6b55a46a0ef7feb214968a7256b8469d266078f0ab3592231a10a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AndroidTrailblazeRule.runSuspend: MethodTooLong \u2014 runSuspend 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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/AndroidTrailblazeRule.kt"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"00886282661ca13755681c2a9efdeb7cf57abb631b7798158a219be587708fda"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LogsRepo: ClassTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 121 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/utils/LogsRepo.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b376785a90c71bd1b3ffb5910e358bccbe42fdda35d00ed821e664602b3083"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AxeCli: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeCli.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d957679b9ab1d3cb0a97baa7b2c1378324e18f0a16536f7493d6a2afb61ebbf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlaywrightNativeHostDriverDescriptor.runPlaywrightNativeYaml: MethodTooLong \u2014 runPlaywrightNativeYaml runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/playwright/PlaywrightNativeHostDriverDescriptor.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3e51ddd9fd7b2cff430a042b0843c1ca02760299e491402e4b18d2d37f18a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/sessions.tsx: FileTooLong \u2014 645 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 145 over it, 1.29\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66711e43e665ec94d555198eade0d2d05dbd3032c63b05cd5b89665ccd768a5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrailblazeNodeCompatKt.toViewHierarchyTreeNode: MethodTooLong \u2014 toViewHierarchyTreeNode runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeCompat.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"78249dbfaf80c7248693dd50ebb6c0910c58ea0dede5256d3450099e268bc6fe"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LocalLlmSamplingSource.emitSamplingLog: MethodTooLong \u2014 emitSamplingLog runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b0e4b23deb14297b796999c0131bcca8e7d69b396dd3cbd92423d84ea0e9d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/demonstrate.tsx: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 133 over it, 1.27\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d28e67ad40b5870b2bc7401640e04a7b5f2feded8e5fcc1a58bce2c7efe0e48"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DaemonScriptedToolBundler: ClassTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 106 over it, 1.27\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/DaemonScriptedToolBundler.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eea70ffb3407aecae34f4a9819342b1bd5a3f83032dfaef29d33a08163919bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: screens/device-console.tsx: FileTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 128 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bebc02c9465e60088d6d78dc5a198baafa64dece201b75a1b923e4cf60b5a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/run-report-trail-replay.ts: FileTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 128 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8ce5333ba0950ce1c5de68299688bd4f4099f9598ffaa6ae354398389ea787"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/DriverNodeDetail.kt: FileTooLong \u2014 625 significant lines (blank, comment-only and punctuation-only lines excluded), about 99% of them inside a single declaration: DriverNodeDetail (29-1530). The bar is 500 significant lines; this is 125 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/DriverNodeDetail.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad41a3e32777d40e349f8118fe704b4c862da26a8e68c33d94f8ca5a1ed9de7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: devices/index.html: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 116 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/devices/index.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fed1134a92c11f379ad30bbb53bd3c3d5285c88c64be20dadfe465baeb5e59"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HostScriptedToolLauncher.launch: MethodTooLong \u2014 launch runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/HostScriptedToolLauncher.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc2a0942fb37806da0232d7065d76f1f0c0c2061ccd8c597ff5c90044a5d19c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeviceApiEndpoint.register: MethodTooLong \u2014 register runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/rpc/DeviceApiEndpoint.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a34f552f50f5bf7ca49b5fc5607cfeea662d98c2043894050f9948dbae6312"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kotlin/TrailblazeSdkDtsBundlePlugin.kt: FileTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 106 over it, 1.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":"build-logic/src/main/kotlin/TrailblazeSdkDtsBundlePlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6635d86b54023d169206d3cff7ac3200550ad6fc50114e0269ba65363af73800"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AxeDeviceManager: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeDeviceManager.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cde8ad9306e33badb6d1007b86ab086ee73a685e4451ef4890b7f4a541e338"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: util/HostAndroidDeviceConnectUtils.kt: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 99 over it, 1.20\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":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/HostAndroidDeviceConnectUtils.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88af162dedab51fcfe7070e2f823bac411c1fa1e603d2c5a1e322bf23e93b476"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrailRoutesKt.trailRoutes: MethodTooLong \u2014 trailRoutes runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a87fa907e110c24cc6fdf448773fb3b8b96aa5560e049a236180a5f7174e707"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScrollUntilTextIsVisibleTrailblazeTool.scrollUntilVisibleWithStartPosition: MethodTooLong \u2014 scrollUntilVisibleWithStartPosition runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/ScrollUntilTextIsVisibleTrailblazeTool.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"933c014b1394e36fd646945a9661ef49ae97b73d7b57dd754844e82b38fb1099"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TapTrailblazeTool.toExecutableTrailblazeTools: MethodTooLong \u2014 toExecutableTrailblazeTools runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/TapTrailblazeTool.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffcd63dae42b356eb411133e22c0fbf37c9560031a4f3c127563f9701c3811f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrailCommand.executeTrailAndCollectResults: MethodTooLong \u2014 executeTrailAndCollectResults runs 118 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9072e058750c45a37c619f46ee07155df340f4e12edfddad85d560d93a2a96e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: demonstrate.DemoGeneratePhase: FunctionTooLong \u2014 DemoGeneratePhase runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"68223bdc750f00ebe2089bea637fe1fadd979bba6ba228ed2c20f3bd86c10a14"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AndroidTrailblazeRule: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/AndroidTrailblazeRule.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f917f4375f7e8fde27cc37736acaafa1ec29042fcc63a33c34dd850113afaec4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: McpProxy: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/McpProxy.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1199077f2231c5e38cb37e9f2b5ba75cfe301ff1e47014ac9f3704e59ab7262d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AriaSnapshotResult: ClassTooLong \u2014 465 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 65 over it, 1.16\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":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightAriaSnapshot.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"431604840bf9749640974b79975dc89151f9452820f1e4558b72dc2337914cf5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TrailmapTargetGenerator.buildExpectedTargets: MethodTooLong \u2014 buildExpectedTargets runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/TrailblazeBundledConfigTasks.kt"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd89f20ed7aad8179ed4dd9fd0e76c950ae478e133a7eaa58b32afabb915770"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HostOnDeviceRpcTrailblazeAgent.executeToolViaRpcUntraced: MethodTooLong \u2014 executeToolViaRpcUntraced runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1eb7de28b12acb9bf1b78bf3374f4416d1638d702db3fbdc62a388d145efcb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: host/HostOnDeviceRpcTrailblazeAgent.kt: FileTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: sessionReconnector (175-1182). The bar is 500 significant lines; this is 75 over it, 1.15\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91e662b0721d96bfa6b61a89612f3049ad1f83acb2bbaf76eabf1d0f81f1965"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DirectMcpAgent.run: MethodTooLong \u2014 run runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/agent/DirectMcpAgent.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a10283e7a63f062dcfb34cf4dcf049eeb06df3ca24aaeb75d3f5995f330d2a7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CheckCommand: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CheckCommand.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e0f8c6660008635e1f62236a74b99bf18ca5d9b6b56516db6b80390ef22861"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlaywrightAriaSnapshot: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightAriaSnapshot.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"002b0c7b3e0fd2f9d9ac67352b86073f8ef253377653659f9429f425e0a7d4a4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LocalLlmSamplingSource: ClassTooLong \u2014 453 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 53 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"294994813e288e01b110902d3c5d71efc3103e13256650e4919d98b2e31170eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: stream-write.writeDerivedStreams: FunctionTooLong \u2014 writeDerivedStreams runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stream-write.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef4e2189c94fb69b945a93102c140feecd8a841a245a87daedad0cbd7ef4c49"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: waypoint-graph-template.html.MapView: FunctionTooLong \u2014 MapView runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c2a6e4ef65338805fdb6e659a4697493b42555bb42c90a637031af363c9c94"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LoopCommand: ClassTooLong \u2014 450 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 50 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/LoopCommand.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"735efa726cf3476b17c056f92f5e993e7cd04f0450c3f0b50e26c045e2f6a752"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: surveys/session.ts: FileTooLong \u2014 562 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 62 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39238a9b5a69a9809d856eee5def6e471fdee8a0690cf8217bb524a17d029ebb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AccessibilityNodeExtKt.toAccessibilityNode: MethodTooLong \u2014 toAccessibilityNode runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityNodeExt.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa1ac5fa28eb4c4470bd86e143ebcb08b72374ca8bb7645c4375d65f70698ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/TrailblazeNodeSelectorGeneratorHelpers.kt: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 58 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"881bc2780c07ec8a317f98ff6e5d05065196d75fa9760f44a0baa4c514222448"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/LogsRepo.kt: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: LogsRepo (42-1269). The bar is 500 significant lines; this is 58 over it, 1.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/utils/LogsRepo.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf837897787d351d7708c35bdde0e1a2892f3c99c508a9c59623611c970f1bd3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AxeDeviceManager.dispatch: MethodTooLong \u2014 dispatch runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeDeviceManager.kt"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbe949ed50e5dedcbcd0e0ebb4707e256e0908c1bf60a34e248b8d9b6e03356"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: trailmaps.ComponentTypeScreen: FunctionTooLong \u2014 ComponentTypeScreen runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9019975660104186518661bfb26c4d6a5e5dd2d7771957f753d43a0f94850d14"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TrailmapTargetGenerator: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/TrailblazeBundledConfigTasks.kt"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"df232609adb11370c8bf33d406456af99db4acf60bfeb69a3b681ccabfa94fc3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TrailblazeProjectConfigLoader: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailblazeProjectConfigLoader.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2531fa46a33bf1cd9be5736c21f0ea443bcfc3972c0da6dee62952f2e37965"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: IosHostSimctlUtils: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/util/IosHostSimctlUtils.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9973f819f7f9365e6754c78f0c39c650c3c9112b11cd4c41d7689d03547efe48"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DeviceLocaleConfigurator: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/devices/DeviceLocaleConfigurator.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"be04ebffb40d166cabb75ce6c7eb14a8ea0318f0f0678560eebc30be9a4ad975"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TrailblazeNodeSelectorResolver: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"791ecdc691bef8df143cb0d1d0243033778cb1c750e30d8530b03fc9dc665a61"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Orchestra.buildFilter: MethodTooLong \u2014 buildFilter runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/maestro/orchestra/Orchestra.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfeb22d72edc8dc9e1349eb3cdec8af86714239c605a0cec53090f8cb9e7fb81"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IosSimulatorRunKt.runIosSimulatorYaml: MethodTooLong \u2014 runIosSimulatorYaml runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/IosSimulatorRun.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e6ad39965270e13fe42dee1a3d7de3574ab312217b266a156e9e868fc6d0ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: trail-detail.TrailImplementationsBoard: FunctionTooLong \u2014 TrailImplementationsBoard runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f632b34894f51a33f6d6faeea66071c8f428eb98e51a7fe5df36830c20ab570"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SessionEventsHostFunctions.query: MethodTooLong \u2014 query runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/events/SessionEventsHostFunctions.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbeefd3d865006cfab7a2b25db08a53ac8a50be0eb0f45d44b782d4f2928725"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kotlin/TrailblazeInProcessIdleApk.kt: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 44 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-gradle/src/main/kotlin/TrailblazeInProcessIdleApk.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd498695a643df7194ad4b5483e09d6fc0db9e3997c51fcbe30893c1135e853"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run-report-trail-replay.alignReplayByStep: FunctionTooLong \u2014 alignReplayByStep runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef55aaa38cd3d25026baf8062dac4950e21cad02fd0d89b04ba872dd3add702"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TrailblazeToolRepo: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/TrailblazeToolRepo.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2da40f6f41b295313df4a3976d941f15fee3bcaa154fcb0e9cfaf5d1e1ac63"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SimctlCli: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/SimctlCli.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"272e2f8909c63d73299536dc730009170813c3b832610ed3cc33f08b1c532a81"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DeviceManagerToolSet: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e2133b15cef6a12c0c156273877ea0a3800a0e5c59dd58f9ff88ebf9979007"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: matcher/resolver.ts: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 32 over it, 1.06\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":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa2c1163aad4a51c9b44b0b7d8d273fcd44ea6a59f26e4805fb1e606a4aa58f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: yaml/TrailblazeRecordingGenerator.kt: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 31 over it, 1.06\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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailblazeRecordingGenerator.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdb224e72277e91bc923c56f6fa3eb8d28188de62d78dddbf176a1679e57e5f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TrailFileManager: ClassTooLong \u2014 424 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 24 over it, 1.06\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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailFileManager.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2539fb7fee62d43f64de3efcb824f78e4cc1f75868f31d32ee9082b5518286"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AxeDeviceManager: ClassTooLong \u2014 421 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 400 significant lines; this is 21 over it, 1.05\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeDeviceManager.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9c1e0cf35be03a0d793e416d3610c4fba85b87f51a505f0f8aadeec92495e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripting/DaemonScriptedToolBundler.kt: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: DaemonScriptedToolBundler (46-1283). The bar is 500 significant lines; this is 26 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/DaemonScriptedToolBundler.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a726d6a89ec1b7f02e2958b88405e914804fd5be99d73adc3168fb4da19d89"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DaemonClient.runAsync: MethodTooLong \u2014 runAsync 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DaemonClient.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"819e5484420d4f22aa0df8d037ed947455eb5b0b3bd322cd6e2acd1fff28324c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SessionStartCommand.startSession: MethodTooLong \u2014 startSession 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed19aff59af41b5b4b25fb2be3d6b17d84eeaa7d655ce6d5acebb0b2b1a237a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: perf-extract.nestAndAccount: FunctionTooLong \u2014 nestAndAccount 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff3487a31cb3625dc8f8648d70b7744330149dc38204bc6e5e3d22377fa7d3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: report/run-report-cli.ts: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 19 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f722fa33cf7d3490e33da600ad070012d83204427850e509227ca4605fd869"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TrailblazeRunnerUtil: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/rules/TrailblazeRunnerUtil.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bc79fb9f08deb1d3c1b281abd064d3de83d6834436580b40b028c3138c6b16"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlaywrightElectronHostDriverDescriptor.runPlaywrightElectronYaml: MethodTooLong \u2014 runPlaywrightElectronYaml runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/playwright/PlaywrightElectronHostDriverDescriptor.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"159a0105a01dd27292f66190d2e6f6780f73c31d34973c14f34ba3a4b85bf516"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OnDeviceRpcProtoCodec.toProto: MethodTooLong \u2014 toProto runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-ondevice-rpc-proto/src/commonMain/kotlin/xyz/block/trailblaze/ondevice/rpc/proto/OnDeviceRpcProtoCodec.kt"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc6bb0db66ecf9cc66a085052fe8d2c75db90b8fa3b414cd16c6ff30148f013"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: integrations.IntegrationsScreen: FunctionTooLong \u2014 IntegrationsScreen runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/integrations.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a6bbe0fa0f51a5d6fc6ffd9300ea35b31705471d78dc08ebb9b94f34e396b9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RunReportGenerator: ClassTooLong \u2014 410 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 10 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/RunReportGenerator.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"347f1ccaa649a83c23cf3a945cadd5b5584510cb0c4f88235176cb9e1856fb4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cli/LoopCommand.kt: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: LoopCommand (84-798). The bar is 500 significant lines; this is 11 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/LoopCommand.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0815bceca6e7b0567f6b93d5ad29dde6e131194037514428f2744add40487987"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: editor/monaco-lsp.js: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 9 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f1146c5513da0aeb55377eb88707bb978285a3a90f35d213cd937981cd9b32"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/perf-extract.ts: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3787542351c295b4ec16c0d7f756e166e0f744669c7edfa3bed338be3494128"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QuickJsToolBundleLauncher.launchAll: MethodTooLong \u2014 launchAll runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolBundleLauncher.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8e6c73581bf97f1f426f4583b7e497f4eb733d1b6c2be605fd1dbff404167b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-core.defineTypedTool: FunctionTooLong \u2014 defineTypedTool runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/tool-core.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6c4312c37613a6e9f7924d3abef8edd7408e37780b332490a2463a65cb7766"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TrailblazeLogger: ClassTooLong \u2014 403 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 3 over it, 1.01\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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/logs/client/TrailblazeLogger.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e81d1b97cbdda76b48d071ac63878d09134dc42217928ae4cd9c12f7033cd2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inprocess/InProcessShellPackager.kt: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2 over it, 1.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65baf83fa9539ff13aee2458bc3696583fde8e62b6a4c9f4b7a656cebb477b58"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (153 shared lines): trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt:169-493 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt:154-482 \u2014 These two members are variants of one another: 153 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a901c8a46fe89bab6862c985c4af72ab18e8798b356a7aecc3522667ec2b735d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (97 shared lines): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt:211-312 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt:323-424 \u2014 These two members are variants of one another: 97 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a6bcf0732501ed856cb6cdae984a65bda7728f222fe830328dab7cf61be1d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt:338-369 | trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt:691-719 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c1153fab524ab195fcbbc3fcbb3e8a925deb581279c45a44420dd84916603f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt:362-370 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt:592-600 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt:542-551 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/RunReportGenerator.kt:849-857 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6dc934e47635d2321ab4d7fb75a603ae25b6875c5596dc5f28a43b2fb37ee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1019-1074 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1104-1144 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1295-1390 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1454-1504 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af423152d7301307c5a6092e9642ce205c12660a398ffd43ebafafb7f6b95e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt:288-359 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorCompose.kt:146-164 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorIosAxe.kt:123-164 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorWeb.kt:59-87 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"83db46527f262e4dafa86411e63e658183c0bd61237936ecd5e2d2430c198b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (135 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/host/playwright/PlaywrightElectronHostDriverDescriptor.kt:121-255 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/playwright/PlaywrightNativeHostDriverDescriptor.kt:99-286 \u2014 These two members are one piece of code written twice and then edited apart: 135 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/playwright/PlaywrightElectronHostDriverDescriptor.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5079150f510b12c90ef3e50fa3811d2a66862a6b1a97a03a21230b50d3292d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (86 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/SpatialHintsStrategy.kt:22-107 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/SpatialHintsStrategy.kt:109-194 \u2014 These two members are one piece of code written twice and then edited apart: 86 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/SpatialHintsStrategy.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e525e7a6291e3404f32927db17ab12c4cfc44baba3d9d57f2bef9016529ac13b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): trailblaze-android/src/main/java/xyz/block/trailblaze/setofmark/android/AndroidCanvasSetOfMark.kt:148-210 | trailblaze-android/src/main/java/xyz/block/trailblaze/setofmark/android/AndroidCanvasSetOfMark.kt:221-275 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/setofmark/android/AndroidCanvasSetOfMark.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"730296dbc6052c3dc4c49be54c5d03a56add56998f7debf1f707015c759a32a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailmapExportedToolsResolver.kt:50-100 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/PerTrailmapClientDtsEmitter.kt:710-793 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailmapExportedToolsResolver.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd62c29eef9a627e682d2c82ee230033901bf70bd5345803e21d05201f7660dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt:293-327 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt:333-360 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d73fd6fa7c4658f3f831d9ebef284d0394b8c947656bddbc6e5587ab126023"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/host/util/BufferedImageUtils.kt:30-75 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt:2285-2332 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/util/BufferedImageUtils.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0c95de97c3242c32d290ad94d1df9631f73dd78829c352dfe723708500e410"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt:232-261 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt:336-359 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e55010a91a79e8c0fd145c54aa86af85c0880abd52d7655482c9a85ffe6ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt:598-619 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt:752-774 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d817f6964259b1cab5ed72feb440be5ee773d50aa27707c4b9fb1c4fa60b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorMatchCommand.kt:197-231 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorSuggestCommand.kt:257-288 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorMatchCommand.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d695f14cf06aafd6a20d121d76256bb9a7d3078d805e9e4565c652a526e2b0d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/recording/PlaywrightDeviceScreenStream.kt:539-627 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/recording/PlaywrightDeviceScreenStream.kt:639-694 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/recording/PlaywrightDeviceScreenStream.kt"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bf20c2fde2a07ded53ad75b6888ffc96ba7e86c83bded34f724804be0c7b5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/host/WorkspaceTypeScriptSetup.kt:113-170 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/WorkspaceTypeScriptSetup.kt:194-246 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/WorkspaceTypeScriptSetup.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1055a92a1c979953e73249c585910947aba6aeb445e738ee585683db5d916a60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/tune/WaypointTuner.kt:210-243 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/tune/WaypointTuner.kt:259-298 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/tune/WaypointTuner.kt:313-351 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/tune/WaypointTuner.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"545a93d00a66731dbabd65db838ac8f675333aeb8a5e999591d279f9b4b6c20e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelector.kt:401-420 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelector.kt:621-643 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelector.kt"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2595b64d1d777e6ee9c7b215482d7dd45a5a6fda9737837514e8f70692bead5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailMcpTool.kt:703-743 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailMcpTool.kt:749-800 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailMcpTool.kt"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"352eb0b1fa927213acfd856c2d9b9e64915f476a0a97f98d0d148b9dac1710cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt:48-79 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/IosCompactElementList.kt:45-85 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a67652d7836fe8fcccac95c33b7686b016ac43d07090b994b598c71983b066"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): trailblaze-tracing/src/commonMain/kotlin/xyz/block/trailblaze/tracing/TrailblazeTraceRecorder.kt:203-232 | trailblaze-tracing/src/commonMain/kotlin/xyz/block/trailblaze/tracing/TrailblazeTraceRecorder.kt:248-279 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-tracing/src/commonMain/kotlin/xyz/block/trailblaze/tracing/TrailblazeTraceRecorder.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"078cfde920bedffa4f38f11485e87d96f7be877f63209b8af26480d8365c21b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/MaestroCommandConverter.kt:170-211 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/MaestroCommandToIosDriverActionConverter.kt:130-161 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/MaestroCommandConverter.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b74dd4d98909d5c172d31dd82d545fe01865264789d599cfb037893ec2a864"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt:382-404 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt:663-685 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad50fc52973b593d701b4b50c95c7384dc39d154d7efe6e95d9a814cc65b83c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/MaestroCommandConverter.kt:360-394 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/MaestroCommandToIosDriverActionConverter.kt:282-305 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/MaestroCommandConverter.kt"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29950971b85db39bfc9f96f7e18bbe2a45a1738d602422495b67e4e2a8f0092"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 49\u002B corresponding lines): build-logic/src/main/kotlin/TrailblazeSdkBundlePlugin.kt:163-227 | build-logic/src/main/kotlin/TrailblazeSdkDtsBundlePlugin.kt:829-903 | build-logic/src/main/kotlin/TrailblazeSdkDtsBundlePlugin.kt:917-965 | build-logic/src/main/kotlin/TrailblazeSdkDtsBundlePlugin.kt:1001-1071 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 49 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/TrailblazeSdkBundlePlugin.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89e935dc6698f87ce516c1238b287841ab6931fb8b9ead7ef4cc5de2bf8d9ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mobile/tools/AndroidWriteFileToDownloadsTrailblazeTool.kt:58-106 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mobile/tools/AndroidWriteImageToMediaStoreTrailblazeTool.kt:49-108 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mobile/tools/AndroidWriteFileToDownloadsTrailblazeTool.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"686a4dd53e221658cb1d21106d3fd4d9525517d1bc8977a3010802523f0a3ba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightAriaSnapshot.kt:676-717 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeNodeMapper.kt:192-245 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightAriaSnapshot.kt"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9497a3e4e34d4c591d72d9dfdfed61c4225fb3e1142ccc322817ec2a295887"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): trailblaze-report/src/main/java/xyz/block/trailblaze/report/PerformanceAnalysisGenerator.kt:174-200 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/RunReportGenerator.kt:450-477 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/PerformanceAnalysisGenerator.kt"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d853150e4956cf220a669f2819c25853a1b7ed3a2e138b5a31cabe7b866790"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/config/TrailblazeToolParameterConfig.kt:91-132 | trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailArgConfig.kt:260-308 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/config/TrailblazeToolParameterConfig.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d286173347caa778ec4821d2b219268f52798c5d6508c3a372827f8661a34f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RecordRoutes.kt:1162-1170 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RunToolsRoutes.kt:107-117 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RecordRoutes.kt"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaf5c0b601aa45ec64fa783788e04d173f4e8a7813e6e97034c5018ea94703a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): build-logic/src/main/kotlin/TrailblazeSdkBundlePlugin.kt:133-156 | build-logic/src/main/kotlin/TrailblazeSdkDtsBundlePlugin.kt:617-653 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/TrailblazeSdkBundlePlugin.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c112294c5a1d37822db15756da267bb9549eb70fef652b450344127d66b95c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ReportGifExporter.kt:48-96 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ReportWebpExporter.kt:81-125 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ReportGifExporter.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68898872dc0713017cf4134d97475ea89a93b7d8b9e9e4f821bcadc59411e6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt:624-638 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt:669-693 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a6e7754c8d196971e99f68a85fbe899e19aa43febd59169b65de9269eaab7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/IndexStrategy.kt:12-55 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/IndexStrategy.kt:57-84 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/IndexStrategy.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdb8410365dfdf0b741ef5f7b08c7f8344ade1584f4c92433dae2ae637f4fbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/matching/TrailblazeNodeMapperMaestro.kt:40-66 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/matching/TrailblazeNodeMapperMaestro.kt:68-95 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/matching/TrailblazeNodeMapperMaestro.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e2913d8ca349f7f137328825acb69f114f90073042be45a73b08cc9b0fda50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt:795-831 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt:345-377 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa163801f404f7366a107b357030931ac07570fb772a57df462d0cd98d71a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolRoutes.kt:197-226 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt:366-390 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolRoutes.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a029537d4faa7ba6da27b532bf75dde5412a9e28d35175e8f7322443694aec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt:1776-1812 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt:1823-1872 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9eec62a0aa1712f8e9e473f80b8a8ea7ea7897d802f77f0ed6c6502d691e003"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/util/IosHostSimctlUtils.kt:375-401 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/SimctlCli.kt:244-268 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/util/IosHostSimctlUtils.kt"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"527a6ab76315f5d9e284c6e3156a1d2d2d393aa8caaf2291d0ae15e2150b32c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/utils/SelectorStrategyHelpers.kt:112-138 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/utils/SelectorStrategyHelpers.kt:153-177 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/utils/SelectorStrategyHelpers.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1f686f5e30bba5cf3431b9814a262d2e9680ea85646340dc4a619f3f2dbb5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/MaestroCommandConverter.kt:404-421 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/maestro/AssertionLogger.kt:153-172 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/MaestroCommandToIosDriverActionConverter.kt:309-324 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/MaestroCommandConverter.kt"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86416132e25a923e024e2171f7b55ad7196b88ce3847a7b2548efce3fb68c52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/ComposeTrailblazeAgent.kt:110-150 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt:204-243 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/ComposeTrailblazeAgent.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d4815a5c31b7b8e67182be657491547039c7833b812ec3304a3a247f66b5ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/android/tools/AndroidAccessibilityClickTrailblazeTool.kt:49-79 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/android/tools/AndroidGestureTapTrailblazeTool.kt:51-81 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/android/tools/AndroidAccessibilityClickTrailblazeTool.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"66957d84de9d8dc65a6673da36bf866c66a29f96ee006b2552132b5f1be0b583"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt:158-186 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt:188-216 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7983fd8bd445070affd9517fe8a5d539368c7e154bfb5793879ff88af7af2ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:719-738 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:749-769 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"459a5e2b6eca04a2907524179d5dfd5bebac6432d4350c8fcbdd6b6be9b9c01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/logs/client/SessionSecrets.kt:105-121 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/toolcalls/SensitiveArgsTrailblazeTool.kt:214-231 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/logs/client/SessionSecrets.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f2d887d803a71839c3c1f193230d8a11a860502cfef11e419e63bc2270f03d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 41\u002B corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mobile/tools/ListInstalledAppsDetailedTrailblazeTool.kt:90-133 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mobile/tools/ListInstalledAppsTrailblazeTool.kt:67-107 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mobile/tools/SetClipboardTrailblazeTool.kt:32-72 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 41 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mobile/tools/ListInstalledAppsDetailedTrailblazeTool.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3dd8fcc006786b66ed9afa6bb12dd10831d90b03e101366e8941070601d206"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityDeviceManager.kt:717-736 | trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityDeviceManager.kt:1388-1411 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityDeviceManager.kt"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f49bca500073a16e068268858f5ff409fc869c01803429428b06236410bd6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/McpSamplingClient.kt:77-111 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/McpSamplingClient.kt:136-173 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/McpSamplingClient.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4c5faea415c73454bc01af38688bd4da134ecb30df89391ae6591f6fdfd061"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RecordRoutes.kt:1112-1120 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNode.kt:321-345 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RecordRoutes.kt"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0167dc2ce3c7a09bd267c377480d61ec956402122db06fc8774a5a7ca08006"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityTrailRunner.kt:274-308 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/IosDriverTrailRunner.kt:166-197 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityTrailRunner.kt"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3a2aaba38301fec6afcfc15946baa3c15dc271bf609d99653cf725d3b84947"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityDeviceManager.kt:1483-1496 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeDeviceManager.kt:122-131 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityDeviceManager.kt"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1a678cbaaf323ba4bdb3203dd38c46a73b7f8338314189c4a2036a4b18d826"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/ComposeTrailblazeAgent.kt:214-244 | trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/rpc/ComposeRpcTrailblazeAgent.kt:270-305 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/ComposeTrailblazeAgent.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bc2ff56b9fe9f4613644c9000b761fb192c832bf174f5877776bd8e29d1a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recordings/UnifiedRecordingWriter.kt:815-839 | trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/ScriptedToolDefinitionAnalyzer.kt:886-915 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recordings/UnifiedRecordingWriter.kt"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba4c6f9b8cad009f41022a0d3bbf06c92aaf1fc640e19a26ab314a3baa5a4bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt:583-625 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt:218-250 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e64eab6908f8e7a7a60c8f8725778a35e6094621946197c0c20c725069df774"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidMaestro.kt:48-65 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidView.kt:162-184 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorIosMaestro.kt:112-129 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidMaestro.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0775a1d823dfe2df21af65a4f5d1fb93f831ffcdf1d528ef132883f426a66b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/agent/DirectMcpAgent.kt:375-396 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/agent/InnerLoopScreenAnalyzer.kt:411-437 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/agent/DirectMcpAgent.kt"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ddc0164d2ccb23ec0db47949bdfc13061e2811a36e81b047cab2471edb4aa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): trailblaze-host/src/main/resources/networkcapture/mitmproxy_netcapture.py:254-271 | trailblaze-host/src/main/resources/networkcapture/mitmproxy_netcapture.py:274-296 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/networkcapture/mitmproxy_netcapture.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d810a79c395e5078a649383615101f712e2bd5c9751ad9b3b5d168169d801c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt:165-185 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ViewHierarchyFormatter.kt:76-96 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0f7f837bcaf08a5a86f39eded37241d5a82380de82356a83f134faa482d08b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/AndroidLiveFrameStream.kt:31-53 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/AndroidLiveFrameStream.kt:67-97 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/AndroidLiveFrameStream.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9e01c77b962fedaf315070ae2b703654b1963fb75bff12dbead8353d32ffff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/host/SelectorDialectLint.kt:493-505 | trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailTargets.kt:41-53 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/SelectorDialectLint.kt"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"483d9eb37119deddfc9671a57051177bfa280dfe7470518c1a6874c00e42f6eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/ToolNameSuggestions.kt:68-83 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/VisibleStrings.kt:507-518 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/ToolNameSuggestions.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d6c9877e222239ebdafaa988f3dfaf3fef0bf9fb2fbd0ec5834312410a2817"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/tools/ComposeClickTool.kt:28-44 | trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/tools/ComposeTypeTool.kt:36-60 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/tools/ComposeClickTool.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"405f47a4f33533432063b3d87bdc8ae2e9c9bacb5524337e4cee98ddaf1a4f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/ios/tools/IosResetKeychainTrailblazeTool.kt:34-57 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/ios/tools/IosTerminateTrailblazeTool.kt:38-63 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/ios/tools/IosResetKeychainTrailblazeTool.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e483ab73c89607c4bab62444795f764ba124c1e315cc68b5c4ed26ffde989a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt:266-280 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt:364-375 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"713627e1bfbcbc2590b849891052bc98a71589c78ab6dbe33c46a959336a6d6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/console/WebConsoleCapture.kt:85-108 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/network/WebNetworkCapture.kt:136-164 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/console/WebConsoleCapture.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12ca9ba7d962138d68a76e4fc1007f19c15bbf45418ed2ceb8f5dd620247d85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/utils/SelectorStrategyHelpers.kt:34-55 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/utils/SelectorStrategyHelpers.kt:75-96 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/utils/SelectorStrategyHelpers.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"be91566de8cc2e879f97a92a287bb0a99cb28017c14d9a041a6b31af8be6b435"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mobile/tools/AndroidForceStopTrailblazeTool.kt:36-65 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mobile/tools/AndroidGrantAppOpsPermissionTrailblazeTool.kt:74-102 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mobile/tools/AndroidReconnectSessionTrailblazeTool.kt:52-78 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mobile/tools/AndroidForceStopTrailblazeTool.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e0dbaca2c5e4894cc7333401ce590eb951df0420c1020c89338bfb183a631c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/MaestroInteractionToolFactory.kt:95-107 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/OnDeviceRpcDeviceScreenStream.kt:136-149 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/MaestroInteractionToolFactory.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26e325b26d9252119e0726c512e6d155f5928c8b74d6eaf5e510b748e637f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailmapSource.kt:130-150 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailmapSource.kt:173-193 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailmapSource.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d3fa515d6136ddcc6a80fd6d7e21567ed256635d6b3d93392755df391f286b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/TrailblazeToolRepo.kt:565-595 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/TrailblazeToolRepo.kt:630-656 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/TrailblazeToolRepo.kt"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"54dfd0085bda9991dd436347bbcd889945daf2313ed64c1ba73a08fd40dd445b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailLabelWriter.kt:162-168 | trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/TrailLabel.kt:178-195 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailLabelWriter.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0073eacc5d2a8894085db2de7156261d43f03d5ac72092f873e5065edb0459c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRunnerEndpoint.kt:208-225 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRunnerEndpoint.kt:265-285 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRunnerEndpoint.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d97fdd60dd70c204874e2ee9df311d0b8303e66f35f3c5ae6ccfe35db1850ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt:483-487 | trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt:833-837 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"42939052256ac4af9a143cf80227c56b4e4a752969f03a53fd616022206d6394"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:417-430 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:508-520 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"700f340e5911079dcdf1634baeb16d6a86afcaa650ce66dc38bb34ba4bb2e98e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt:163-175 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt:264-276 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39967e443e4ba1b622a9ae1751b2e637711524443cb0a925d52bcd8da80c4ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/InProcessIdleApkInstaller.kt:581-591 | trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/PrecompiledApkInstaller.kt:122-136 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/InProcessIdleApkInstaller.kt"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2485fa7ce1014b2bced7319ca5d111bd81acfe002f2e839a145530ed036de4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt:453-458 | trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt:803-808 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7515724bedd4a740b30f9f0d549609616aafff41aeb69fca6cffe579c0344a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:438-450 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:453-464 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:467-478 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:578-590 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cdf6fac0beed9e474260347a335d6b9771f9ea4b1dd0c80fdf946c957a6653"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt:396-403 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt:537-549 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf275175456ebdd1a20f010ce9f36f2a259bdf3d9770a379a9b89525d8ba9ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/tools/PlaywrightNativeHoverTool.kt:30-43 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/tools/PlaywrightNativeSelectOptionTool.kt:32-50 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/tools/PlaywrightNativeHoverTool.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2eff920b5889e51851d23d4f84b6b1968c06845a9974119c4e10b4d66a7a13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt:561-591 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt:623-645 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd3b6fe3a7fa5860b9894117e10db52d49c5254ef530b7b33a2735c740c3d80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/host/devices/PlaywrightBrowserInstaller.kt:88-108 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightDriverManager.kt:491-504 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/devices/PlaywrightBrowserInstaller.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f69a2819738c49f51a8c16ef83f99cea8e6e9d44b8f539123af1eee9346ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): trailblaze-agent/src/main/java/xyz/block/trailblaze/agent/trail/TrailblazeToolYamlWrapperJsonArgs.kt:30-58 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/toolcalls/TrailblazeToolPayload.kt:122-144 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-agent/src/main/java/xyz/block/trailblaze/agent/trail/TrailblazeToolYamlWrapperJsonArgs.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"660d8316124c9fc5f1a9b46f947cc8d387fda6587dee1058d968735f4901efdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): trailblaze-report/src/main/java/xyz/block/trailblaze/report/trace/SessionTraceFile.kt:103-119 | trailblaze-scripting-subprocess/src/main/kotlin/xyz/block/trailblaze/scripting/subprocess/McpSubprocessSpawner.kt:211-231 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/trace/SessionTraceFile.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a099727df53be2adfc1f793e8c25f39b5a524f60a9504490d987d8e729cb030e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:481-495 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:523-536 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:545-558 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:561-575 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:650-667 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"0379142065917b7e14d0315c92363394019f920cc2deb35414c6f963ea8d029c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RunToolsRoutes.kt:326-337 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolCatalogBuilder.kt:53-60 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RunToolsRoutes.kt"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eaba0a7cb4a7edb44c3ad98a93f17a4baca52bfdcfc5c928b44f6b9bc5da2dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExtraTrailRoots.kt:65-78 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailFavorites.kt:53-66 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExtraTrailRoots.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"51151e94f7a221b039e821ce8837a297967799a9c5e2c17f0b8b490dbf03f96b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/logs/client/TrailblazeLogServerClient.kt:57-78 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/logs/client/TrailblazeLogServerClient.kt:95-118 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/logs/client/TrailblazeLogServerClient.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e1a58f6490d1687f91b8b43b1d2b6820a3c68f3ba79b0cd360d873b214a4ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/devices/RequiredDeviceClassifiers.kt:59-69 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/toolcalls/SensitiveArgsTrailblazeTool.kt:95-105 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/devices/RequiredDeviceClassifiers.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"67791a7bc4601c46bb26cd0fbfd34fc7bf62a78f2ee0236bc8d948e49a2cc697"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): trailblaze-ondevice-rpc-proto/src/commonMain/kotlin/xyz/block/trailblaze/ondevice/rpc/proto/OnDeviceRpcProtoCodec.kt:691-714 | trailblaze-ondevice-rpc-proto/src/commonMain/kotlin/xyz/block/trailblaze/ondevice/rpc/proto/OnDeviceRpcProtoCodec.kt:717-740 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-ondevice-rpc-proto/src/commonMain/kotlin/xyz/block/trailblaze/ondevice/rpc/proto/OnDeviceRpcProtoCodec.kt"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"99639672ac214e30ea9c8ac755fd9892eb2ca0fe309dc74fbe201bf13b8a3282"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/MuxToMp4Consumer.kt:209-236 | trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/PlaywrightVideoCapture.kt:145-169 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/MuxToMp4Consumer.kt"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e17412c7e4f3452022d67ff6508781ce9960473ae85b72cb7336f2bdecd6b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/host/MaestroHostRunnerImpl.kt:387-406 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/WebStreamScreenshotSupport.kt:96-118 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/MaestroHostRunnerImpl.kt"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d435b692812f77cc7f4633967678a97ed1119d35434ff78c2793ead52867da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/native/TrailblazeTrailRunner.swift:255-262 | trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/native/TrailblazeTrailRunner.swift:263-274 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/native/TrailblazeTrailRunner.swift"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8909013648eae9f2019f794cd76a865a218af4de04151b427fbacdeb86d702"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/scripting/LazyYamlScriptedToolRegistration.kt:881-887 | trailblaze-scripting-mcp-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/scripting/mcp/McpToolDescriptors.kt:73-79 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/scripting/LazyYamlScriptedToolRegistration.kt"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdc8dda5a46c8a7f863cecb60f35cee71848d9e212e7779473fecd29cec238e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recording/InteractionRecorder.kt:148-163 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recording/InteractionRecorder.kt:165-181 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recording/InteractionRecorder.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b608775ac38714ce5ccbef5ca2ae62e6741e1a62f13cb9e6100d440e692fb7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt:1228-1244 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt:1254-1276 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f4470a55548de1d37f74fa8b2660d14fcc0a639748f2c5b33c0b9a52bba856"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/VideoDuration.kt:31-45 | trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/VideoFrameSize.kt:33-48 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/VideoDuration.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cf8d77a8c26e26d69a9e68e354d0536a526e14adb6fd59899b6080459d9902"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/util/SimctlCommand.kt:28-42 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliConfigHelper.kt:441-456 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeCli.kt:562-575 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/util/SimctlCommand.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6221543ef8bb3dfedaffe97b24341916090f402732166dbb654a9b589f74531c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapSurveyBundling.kt:114-121 | trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt:649-656 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapSurveyBundling.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"48af40a4f3b1a5e4408a13bacb3fdb90a89cb96e49419662490ca44a7c28af57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/FrameTimeSei.kt:91-104 | trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/FrameTimeSei.kt:107-120 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/FrameTimeSei.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0256a8cba2458a7d361412da146449e18085e65218f1d0a398acac828645ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/host/PerTrailmapClientDtsEmitter.kt:346-363 | trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/AnalyzerScriptedToolEnrichment.kt:101-117 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/PerTrailmapClientDtsEmitter.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8d40946949a568254b6f1812c4380eefef2b757e092d6251c64d95eba7c1d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:507-526 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:619-634 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:645-660 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6b55e99922dc9954ff69b9c42eaf783ab75908344be5688e3994c84d7dad19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): trailblaze-trailmap-bundler/src/main/kotlin/xyz/block/trailblaze/bundle/WorkspaceClientDtsGenerator.kt:191-209 | trailblaze-trailmap-bundler/src/main/kotlin/xyz/block/trailblaze/bundle/WorkspaceClientDtsGenerator.kt:303-315 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trailmap-bundler/src/main/kotlin/xyz/block/trailblaze/bundle/WorkspaceClientDtsGenerator.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4a90066fb3b77a602711e7c523ca5c02d4af0c1b83545f3798cdb884dd4778"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/OnDeviceRpcDeviceScreenStream.kt:218-233 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/OnDeviceRpcDeviceScreenStream.kt:239-263 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/OnDeviceRpcDeviceScreenStream.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dc41837ddbaaccbc7dea44fe94a4a7b7ba323b566a9b2bd6d25eaaa5570a6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt:871-895 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt:905-920 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa54c3c30fa9c052df61aa2215aac289220472ce7f8e7c2ea72025c8fdc08cba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolRegistration.kt:89-105 | trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/scripting/LazyYamlScriptedToolRegistration.kt:99-132 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolRegistration.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07cb1ad5b915b65ffd2d3b43051640387fe16e6a499d65520fc1804ca5a3674"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt:100-120 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ViewHierarchyFormatter.kt:13-27 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdc814f0c7f18c086ae7f26d44fec5a89f3898eda218a9104c0619d3b44c822"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/console/WebConsoleCapture.kt:247-258 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/network/WebNetworkCapture.kt:738-751 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/console/WebConsoleCapture.kt"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"28820de035ae280fb3c4899ce1b5d8801cba4a1c8dee854bfeaa437df2312671"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/MaestroTrailblazeAgent.kt:316-346 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt:169-198 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/MaestroTrailblazeAgent.kt"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff43182e3e55ff00c7944bae77a2ce18da2f2cb2348e363f241e385e51510d58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt:479-494 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/executor/HttpMcpToolExecutor.kt:222-240 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b21afb522180af8ac54eee40d913082ecbcea90d1433b7257ecbcc0e70c1da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/SelectorTemplating.kt:177-188 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/SelectorTemplating.kt:190-199 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/SelectorTemplating.kt"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1508ba1b4f1c677513fb6f146a7faa29b8bc3fbfc7dc9e5824acfd913cd0cb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt:3138-3153 | trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt:3171-3189 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":3138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2ff1da651f09e8a94c8d7a96ef62ca6bc8d737ce43fe004909835ff80e439c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt:136-144 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ViewHierarchyFormatter.kt:42-50 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/SubagentOrchestrator.kt:108-116 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e85be488bd25f219144af9bc21e57e778de874407089eae1771335ee179bf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ToolDiscoveryToolSet.kt:1226-1238 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ToolDiscoveryToolSet.kt:1253-1260 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ToolDiscoveryToolSet.kt"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d892ce1c64f5d7e3c4209e80e609ac1c7fe12c4e1499825efd2177d609630f92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/recording/InteractionEventBuffer.kt:53-66 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/recording/InteractionEventBuffer.kt:75-88 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/recording/InteractionEventBuffer.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1866fffac6174b24cf37b5b2f73d6bf04ff388aa69dda2d9b8cc77cdd96fcaad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/handlers/GetScreenStateRequestHandler.kt:38-51 | trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/handlers/GetScreenStateRequestHandler.kt:54-67 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/handlers/GetScreenStateRequestHandler.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"be957680fe2192064ec8f0240127aa90665cf3cee20f5cf8facab995d825ca05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DescribeCommands.kt:25-34 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DescribeCommands.kt:36-46 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DescribeCommands.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b0438c21ac77834b7cd1e5efe64f4bd2aefe2044054500c5dcbf2af3e6ffe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/LoopCommand.kt:745-750 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/LoopCommand.kt:768-771 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/LoopCommand.kt:775-778 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/LoopCommand.kt"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"c705e8a96802215e1c409be436a14f6c414b45b0c7a020c2c55057dba380bad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExtraTrailRoots.kt:53-63 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailFavorites.kt:42-51 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExtraTrailRoots.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a753c79745f7516bcf0aa9108fcc9d319275b83b603a3f717fc2e3264e43186e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): trailblaze-report/src/main/java/xyz/block/trailblaze/report/RunReportGenerator.kt:94-112 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/RunReportGenerator.kt:155-171 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/RunReportGenerator.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e1c86d5283a0fa9cbaa4ae282785b7d79e124c0e79a06186fdc064a601c173"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt:141-154 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/playwright/PlaywrightElectronHostDriverDescriptor.kt:313-327 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd9ccf0cf757b37a025ea6e29629669b0fb156290d255d9be17d58c87e4ec38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolMeta.kt:72-85 | trailblaze-scripting-mcp-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/scripting/mcp/TrailblazeToolMeta.kt:82-95 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolMeta.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ada7d59c224004cb3555b0e81387f527e5cee845b9fe5045d0f7cc15a766516"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/rules/TrailblazeRunnerUtil.kt:118-132 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/rules/TrailblazeRunnerUtil.kt:135-148 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/rules/TrailblazeRunnerUtil.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb207f0e35eab0393ddb8aca63659ddf005a3a2bf4c52e93162d6d8ca6637d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/trailhead/TrailheadHandoffStore.kt:155-163 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/android/InProcessTrailheadReset.kt:69-77 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/trailhead/TrailheadHandoffStore.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3ea257c721219ffc2de8c70119e18323b13f8e2448f7036f8dcc37d6be5561"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/PrecompiledApkInstaller.kt:28-48 | trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/PrecompiledApkInstaller.kt:148-170 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/PrecompiledApkInstaller.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb52587198ea276f5bf13720077043203e744e85a1236a04b2fe97d9884633b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt:601-607 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt:652-665 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt:758-764 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"de44169874c9cbdd94b2dfd1eee4bff2826c9ac43d824ae76fc84f6b143a1238"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/McpSamplingClient.kt:262-283 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/SubagentOrchestrator.kt:167-184 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/McpSamplingClient.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"846740b62cdb77b08e39ee4f020e5cc3b345aba2c147676dab1faef862d9b0ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/TrailblazeToolRepo.kt:218-229 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/TrailblazeToolRepo.kt:270-289 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/TrailblazeToolRepo.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb260f0dcbe0cd091b2c130a0308598ff41f37e7dd50035f13828e5cf365c858"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/RpcHandlerExt.kt:21-38 | trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/rpc/RpcRouteExt.kt:35-49 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/RpcHandlerExt.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6843bf8b43f506df1b770fd0b3c2f9c7e91f518a7e0f6ae2c36e89c836fd71d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt:1138-1151 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt:1204-1216 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e235627db694e5ca6d77092ea3b77d663ca2bd422d6825e964a04286c93cb29f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/RuntimeRebuildGate.kt:23-33 | trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/RuntimeRebuildGate.kt:35-45 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/RuntimeRebuildGate.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2f3223b4d61257a08ca52431e73ec41494f4e004a52c79992275e6d4a1ed54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt:2385-2393 | trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt:2734-2742 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt"},"region":{"startLine":2385}}}],"partialFingerprints":{"codehealthFindingId/v1":"b609b1c24247360a6ed7b60762742ce63c6a197414597be67b603bc19cb80db6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolHelpRenderer.kt:153-166 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolboxCommand.kt:522-531 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolHelpRenderer.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"365036cf61a9d7d0f1a2c4734f6eef4e572cb4b36fa0775cbcc9a5cc9d789576"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mobile/tools/SetOrientationTrailblazeTool.kt:57-68 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/PressKeyTrailblazeTool.kt:64-79 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mobile/tools/SetOrientationTrailblazeTool.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5549135af26f0341759ea5f16e87de0ecea8cc67c835daf2c26aa64c391b9080"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/BunBinaryResolver.kt:80-93 | trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/scripting/LazyYamlScriptedToolRegistration.kt:311-322 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/BunBinaryResolver.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7ba186442a76d385c6a7db6469fd294152286cdc1d7b6a997ed36d48fc3aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/host/util/BufferedImageUtils.kt:142-150 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/util/BufferedImageUtils.kt:157-165 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/util/BufferedImageUtils.kt:171-179 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/util/BufferedImageUtils.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"023555a9d45820330fde305f7f42d93a4393541162e387577db26e68b0ba8b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/SameCenterAncestorsStrategy.kt:32-42 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/SameCenterDescendantsStrategy.kt:19-29 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/SameCenterAncestorsStrategy.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"20019749c60b294bd190111c087095b9149f31fff4205650628c85f865bf169d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/KeyValueParser.kt:77-85 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/toolcalls/ScriptedToolArgTypeCoercion.kt:298-305 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/KeyValueParser.kt"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f6bac3cf0a570308261d53214b31f9e14f5cf5f7a447567a9b560f1a672674"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/tools/PlaywrightNativeRequestDetailsTool.kt:55-74 | trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/tools/ComposeRequestDetailsTool.kt:39-54 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/tools/PlaywrightNativeRequestDetailsTool.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc381c3d2de02b3883415c9d284264a449e6e18bd7f13a082e3b2c43f1c57ba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/metrics/AgentMetrics.kt:71-84 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/metrics/AgentMetrics.kt:95-109 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/metrics/AgentMetrics.kt:119-132 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/metrics/AgentMetrics.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0945f709d5772febff361363590050bfc3d489ad4a8915659bc71c87233a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt:75-96 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt:75-99 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d82e3b8cff882e84ecaaaaefc1556fae2de007b5b23d60ecf48648dd2b70f06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapSurveyBundling.kt:164-182 | trailblaze-android-gradle/src/main/kotlin/bundler/TrailblazeAuthorToolBundleTasks.kt:529-548 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapSurveyBundling.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b850d029ba43d51138f6cf375633da1824a9e4b641c79dc15386d0a2420a30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/AssertNotVisibleWithTextTrailblazeTool.kt:92-106 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/AssertVisibleWithAccessibilityTextTrailblazeTool.kt:36-48 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/AssertVisibleWithResourceIdTrailblazeTool.kt:35-47 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/AssertNotVisibleWithTextTrailblazeTool.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebc8ec31a969619ac131cf02dd022ba21750d93363d580e2b4b0061e5925722"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/ContainsChildMultiParentStrategy.kt:12-22 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/ContainsDescendantsMultiParentStrategy.kt:12-22 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/ContainsChildMultiParentStrategy.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08387aa5eb055310b6ea9b5c0e31d2a61ca2598b44caa43c247c2283342fcad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/codegen/TrailRunnerDtoTsBindings.kt:236-243 | trailblaze-models/src/jvmMain/kotlin/xyz/block/trailblaze/codegen/HostRpcDtoTsBindings.kt:90-96 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/codegen/TrailRunnerDtoTsBindings.kt"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"69967c0a09ac2a713f90b561f0d8eaa0c80e9d10c026ee5e6a6e04d5ef8fd414"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/AssertNotVisibleBySelectorTrailblazeTool.kt:55-67 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/AssertVisibleBySelectorTrailblazeTool.kt:63-76 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/WaitUntilNotVisibleTrailblazeTool.kt:84-96 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/AssertNotVisibleBySelectorTrailblazeTool.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"56470f3076b13c24d5009f296de57333df649b0e2b22974470a09bd54602251b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/host/WorkspaceCompileBootstrap.kt:575-579 | trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/DaemonScriptedToolBundler.kt:906-913 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/WorkspaceCompileBootstrap.kt"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"718185be39f530f0a4160be64817c449f37a87ce830971164583ec1c0ccb3e98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): trailblaze-trailmap-bundler/src/main/kotlin/xyz/block/trailblaze/bundle/TrailblazeTrailmapBundler.kt:660-665 | trailblaze-trailmap-bundler/src/main/kotlin/xyz/block/trailblaze/bundle/WorkspaceClientDtsGenerator.kt:553-561 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trailmap-bundler/src/main/kotlin/xyz/block/trailblaze/bundle/TrailblazeTrailmapBundler.kt"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c38d438565d07ca113555f34d2d3c5d77362d10f25bb5c4ef6d921cf2c76e78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/host/TrailblazeDevicePlatformExt.kt:12-22 | trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/setofmark/SetOfMarkAnnotator.kt:131-140 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/host/TrailblazeDevicePlatformExt.kt"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"60777415b2b92d94597347bf9a1e51c425d9fdb807c8a9a080f33a200b9d4a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/logs/client/TrailblazeLogWebSocketClient.kt:138-142 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/android/ondevice/rpc/OnDeviceRpcWebSocketClient.kt:243-248 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/logs/client/TrailblazeLogWebSocketClient.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"332cead3186e88129c87828487cdc39353fcb53651bf723a6c6b48577b03e8d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/LongPressElementWithAccessibilityTextTrailblazeTool.kt:37-48 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/LongPressOnElementWithTextTrailblazeTool.kt:33-46 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/LongPressElementWithAccessibilityTextTrailblazeTool.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7e0e60d71fd07ab800903c3844db1eeaaa2c7d20acfe9d0e09ff25d712a079"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): trailblaze-revyl/src/main/java/xyz/block/trailblaze/revyl/RevylActionResult.kt:50-57 | trailblaze-revyl/src/main/java/xyz/block/trailblaze/revyl/RevylLiveStepResult.kt:49-56 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-revyl/src/main/java/xyz/block/trailblaze/revyl/RevylActionResult.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c2c063341a0588d2b2c86d84abb679839df2604f27504586318fb3127d8aca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailExecutor.kt:603-613 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailFileManager.kt:94-105 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailExecutor.kt"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3feb4270f5e2a3b28bdf21f501b53aff4b38639fe86a97d13aa43edb7a91e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): trailblaze-report/src/main/java/xyz/block/trailblaze/report/StoryboardHtmlBuilder.kt:1030-1038 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/snapshot/SnapshotViewerGenerator.kt:137-142 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/StoryboardHtmlBuilder.kt"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2dbab831feb72d93ed1befd648c14ad5d296e13792a965fcb4bb7713c2d9e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/WorkspaceRoot.kt:124-133 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliPathUtils.kt:104-112 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/WorkspaceRoot.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef92f33cac85d9d4125c3492f64de30dfd052b4d83fb452220994c7cd8fc472"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/util/IosHostSimctlUtils.kt:345-347 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/SimctlCli.kt:374-377 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/util/IosHostSimctlUtils.kt"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b873f16b746a0df6aa02fcb3a7ef243066bb35affc7f027ef8009aa720109c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/BaseTrailblazeAgent.kt:499-502 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/TrailblazeAgentContext.kt:243-246 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/ToolMemoryInterpolation.kt:323-326 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliExceptionHandlers.kt:64-67 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/BaseTrailblazeAgent.kt"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6521c4fcae568c482e2f47744f24725c9e6803a9a23512d9b6c6b18db4cd56fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CheckCommand.kt:791-794 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/networkcapture/CompositeAndroidNetworkCaptureActivator.kt:83-86 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CheckCommand.kt"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3149f8e380fc2ef856eb9acb71dde74bc01ba5d2c9434e3fd731959fb86ff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityNode.kt:224-224 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNode.kt:87-87 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityNode.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"850e7432aa8d68cee18141fa86fa69fe8b1de6fabc11b040f12fe6284bb2c239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (72 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt:241-312 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt:353-424 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt:241\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"390202689653ce9d7441d9808ddb2fad1b7de347a8bb44c15a43d4e6a1e2088a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2): trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt:187-255 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt:194-262 \u2014 before extracting anything, compare \u0060trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt\u0060 and \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt:187\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12f831d8264cbba32c8b2f9c5dc0ccfc61dae4a4d4929f672722ee525a2cbd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53\u201355 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt:397-451 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt:392-444 \u2014 before extracting anything, compare \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt\u0060 and \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 192 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt:397\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab87507c82098d614670ea0edc67fd041b603c3ac4bf1bded2114018fcda7fb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt:1164-1203 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt:1376-1415 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c673e9bfccbcf809d7b8470edb8b93828a94f8147860b619fc8674a642fceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201340 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt:281-319 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt:284-323 \u2014 before extracting anything, compare \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt\u0060 and \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 192 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt:281\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a18341f5c61c4b0cb526d32cf673f9b8b4f67c6c783d6bec6d73c35613c6aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt:661-700 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt:253-292 \u2014 before extracting anything, compare \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt\u0060 and \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt:661\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"e835c500a685cfdbd2a3a98333589886ba9d564b51065ce6e2f3740064e92bb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201337 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt:351-387 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt:353-382 \u2014 before extracting anything, compare \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt\u0060 and \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 192 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt:351\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8634a76830ab9882b145bc65fe0cc2c12dc01e56d518429489fa6322cb7ef63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201334 lines \u00D7 3): build-logic/src/main/kotlin/TrailblazeSdkBundlePlugin.kt:194-227 | build-logic/src/main/kotlin/TrailblazeSdkDtsBundlePlugin.kt:936-965 | build-logic/src/main/kotlin/TrailblazeSdkDtsBundlePlugin.kt:1042-1071 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060build-logic/src/main/kotlin/TrailblazeSdkBundlePlugin.kt:194\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/TrailblazeSdkBundlePlugin.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b2aa16c2e448590937073f23b5817f8fdd8782617daf7da9c394169987ca9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt:710-741 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt:295-326 \u2014 before extracting anything, compare \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt\u0060 and \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e83b8b1be71e10e27a34c70ff4ea2bd82affe7cf2ed876f14eece0d5c48632f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/playwright/PlaywrightElectronHostDriverDescriptor.kt:193-219 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/playwright/PlaywrightNativeHostDriverDescriptor.kt:224-250 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/playwright/PlaywrightElectronHostDriverDescriptor.kt:193\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/playwright/PlaywrightElectronHostDriverDescriptor.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e93f493b4d8fdb94263d6463ff582e08f767da1d2ee5ded50c48f2da56b8e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201325 lines \u00D7 2): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt:795-819 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt:345-365 \u2014 before extracting anything, compare \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt\u0060 and \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt:795\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"2992b2fe4e62985e16f98c0696b34eddd710edbf96ce7e78be26a5051a5445b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt:428-450 | trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt:778-800 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"229d649243b400ae09d77563e37f029952dd8d4300c9fe1bc765f782cf04ad48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): trailblaze-android/src/main/java/xyz/block/trailblaze/setofmark/android/AndroidCanvasSetOfMark.kt:149-171 | trailblaze-android/src/main/java/xyz/block/trailblaze/setofmark/android/AndroidCanvasSetOfMark.kt:222-242 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-android/src/main/java/xyz/block/trailblaze/setofmark/android/AndroidCanvasSetOfMark.kt:149\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/setofmark/android/AndroidCanvasSetOfMark.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab1e8554bd46538b7f141e91fb51393f14f6399c6bbf5fc5affb770e1e34d4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/util/IosHostSimctlUtils.kt:377-399 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/SimctlCli.kt:245-267 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/util/IosHostSimctlUtils.kt"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"739dd82ef45ccf08a66f04e2487ed00051994f52089657a4c08075d0ce24a7b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): build-logic/src/main/kotlin/TrailblazeSdkBundlePlugin.kt:134-155 | build-logic/src/main/kotlin/TrailblazeSdkDtsBundlePlugin.kt:618-639 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ext\u0060 to \u0060TrailblazeSdkBundleExtension\u0060 in one and \u0060TrailblazeSdkDtsBundleExtension\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/TrailblazeSdkBundlePlugin.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c86da5f75c3eaf53d1f97139a5d18e842b9e04173a92147e93e23f4112bb6bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/LogScreenshotPostEndpoint.kt:39-60 | trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/LogTracePostEndpoint.kt:26-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/LogScreenshotPostEndpoint.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"56532f013e9f504f362dea166e6d00038242af7f5a8527f8a1d701a04bd31426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt:600-620 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt:229-245 \u2014 before extracting anything, compare \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt\u0060 and \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt:600\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt:597\u0060 calls \u0060addInitScript\u0060 and \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt:227\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2c6ab93b4907e72994f51ab9caeb07a41a8c15248fb757a9650f5af163e420"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt:676-695 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt:702-719 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt:676\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d864fc69519ff15951d2b0fafd7377c0f8dc0133aa7c643ef86d9a924a1fa09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt:63-79 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/IosCompactElementList.kt:66-85 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt:63\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dd34fa509a6f15f0828dc04d512b14e0b8cff0d2f74f65031bc2c6fb4abf33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 2): trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt:345-369 | trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt:698-719 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt:345\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b38bc8931f353423dd9fe6c7a53319c0b064e7e174be17500c38f004398a2d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/AndroidViewHierarchyFilter.kt:15-32 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/IosViewHierarchyFilter.kt:23-40 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/WebViewHierarchyFilter.kt:24-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/AndroidViewHierarchyFilter.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4ccbddf43e1b9100cbb7aacb57a0266892c3dcffa30d4f692709ed387ed19e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): trailblaze-android/src/main/java/xyz/block/trailblaze/setofmark/android/AndroidBitmapUtils.kt:79-96 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/util/BufferedImageUtils.kt:118-135 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/setofmark/android/AndroidBitmapUtils.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cb7dca425bbfe3268df3b56b490760f4ba76c7ca204eed7455639380e49854"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/SpatialHintsStrategy.kt:24-41 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/SpatialHintsStrategy.kt:113-130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/SpatialHintsStrategy.kt:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/SpatialHintsStrategy.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f365df11338cc6df2869f1d069da973796e31b86a11c82605ef5fd7d42c6986a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/utils/SelectorStrategyHelpers.kt:113-130 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/utils/SelectorStrategyHelpers.kt:154-171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/utils/SelectorStrategyHelpers.kt:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060selectorBuilder\u0060 to \u0060(TrailblazeElementSelector\u0060 in one and \u0060(TrailblazeElementSelector) -\u003E TrailblazeElementSelector?\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/utils/SelectorStrategyHelpers.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c69fa02f788d379623edc97c2df727ab0ac0ea6ca478ff57d924e110b494345"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt:258-275 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt:263-280 \u2014 before extracting anything, compare \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt\u0060 and \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 192 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt:258\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73aee4ed559063941a7b6379a4751d1eaa6ea09713855fa99dc1f2b528d8424"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt:166-183 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ViewHierarchyFormatter.kt:77-93 \u2014 before extracting anything, compare \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt\u0060 and \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ViewHierarchyFormatter.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efc609556277c2ca20c7bbb00c1ea24c9783560404f1c371b98914f4a0e292e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt:1231-1247 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt:435-451 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt:428-444 \u2014 before extracting anything, compare \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt\u0060 and \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 192 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt:1231\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt:1230\u0060 calls \u0060onProgressMessage\u0060 and \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt:434\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"2157308781bceb4b620121da0c517d5c06c72dfc9b39676c2af1ba0993e95184"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:809-825 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1175-1191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:809\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1170\u0060 calls \u0060error\u0060 and \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:804\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"faecab29ff304cb2ffb414c7a5cfc7a031e9994e3cc8097a56629eba5ef523d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/WorkspaceTypeScriptSetup.kt:139-155 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/WorkspaceTypeScriptSetup.kt:211-226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/WorkspaceTypeScriptSetup.kt:139\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/WorkspaceTypeScriptSetup.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fc1d7318b86b1932fbe5058a98173a39af5bf56818a9bf129d866b6315c209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt:1886-1902 | trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt:1913-1929 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt:1886\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c16ac68fb279a334ffa53f6d057a3bd52f940db7bfbb5885265cfcf30cf768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeCompat.kt:24-40 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeCompat.kt:93-109 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeCompat.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5f239912ad65e421dc9ef33e86ff095330e48b25d298d61f4b15f64ca1e71a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailAdapter.kt:145-161 | trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailAdapter.kt:385-399 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailAdapter.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe78f5db77acdbdad3114f2bf06ec38b1e37342d5f3caff7cc4f2f0449acb950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt:136-151 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt:143-158 \u2014 before extracting anything, compare \u0060trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt\u0060 and \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0200d802b3378b4cf11340d9aa1947d7ae89d507ee813e41b731c0622981e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): trailblaze-android/src/main/java/xyz/block/trailblaze/setofmark/android/AndroidCanvasSetOfMark.kt:188-207 | trailblaze-android/src/main/java/xyz/block/trailblaze/setofmark/android/AndroidCanvasSetOfMark.kt:254-273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-android/src/main/java/xyz/block/trailblaze/setofmark/android/AndroidCanvasSetOfMark.kt:188\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/setofmark/android/AndroidCanvasSetOfMark.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67e45c7eaf90bf0c7c37e3342d1547e087a5f83d9372877f1348acf0e15fcbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1129-1144 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1374-1389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1129\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c23f5a3b74931ce85e4e7a98001caa19cf042845a0df3938af6aef43d51225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt:2700-2714 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt:2754-2769 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt:2700\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":2700}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c95963f28bf46067326908ecad7e9a32a5fc92a1d99a8500f32f377889b03e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/playwright/PlaywrightElectronHostDriverDescriptor.kt:221-236 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/playwright/PlaywrightNativeHostDriverDescriptor.kt:252-267 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/playwright/PlaywrightElectronHostDriverDescriptor.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1d953b1ac0d659822aa8453f7612c338c7c981867fba6b822e3cbfc5eb5f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): trailblaze-models/src/iosMain/kotlin/xyz/block/trailblaze/api/SelectorPatternRegex.ios.kt:14-28 | trailblaze-models/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/api/SelectorPatternRegex.jvmAndAndroid.kt:13-27 | trailblaze-models/src/wasmJsMain/kotlin/xyz/block/trailblaze/api/SelectorPatternRegex.wasmJs.kt:13-27 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/iosMain/kotlin/xyz/block/trailblaze/api/SelectorPatternRegex.ios.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af83715781f0256c9317812f1b9eb1cf72244a9d860483feafcd7c04cad1e71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/ComposeTrailblazeAgent.kt:226-238 | trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/rpc/ComposeRpcTrailblazeAgent.kt:286-300 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/rpc/ComposeRpcTrailblazeAgent.kt:286\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/ComposeTrailblazeAgent.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e533b3e609de191c5388fa7513264da9fd8c65c38159a9e26bf5da2bb6a6a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/rpc/DeviceApiEndpoint.kt:405-419 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/rpc/DeviceApiEndpoint.kt:559-573 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/rpc/DeviceApiEndpoint.kt"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b280df6f8e544ba68921e4b672a3387ad4daa999500b62f92bfe7d2d71f86b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/executor/HttpMcpToolExecutor.kt:225-239 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/executor/HttpMcpToolExecutor.kt:250-264 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/executor/HttpMcpToolExecutor.kt:225\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/executor/HttpMcpToolExecutor.kt:249\u0060 calls \u0060put\u0060 and \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/executor/HttpMcpToolExecutor.kt:224\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/executor/HttpMcpToolExecutor.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"7479b0491b14b3d61a5d890fb75ff17f651ebb628f53bcf82604e282ac58ecca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt:740-754 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt:802-816 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fea24e26756703f4ff9934a8c3b0027a803b1f78cc85c93d57c22d25f027217"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): trailblaze-agent/src/main/java/xyz/block/trailblaze/agent/TrailblazeElementComparator.kt:287-300 | trailblaze-agent/src/main/java/xyz/block/trailblaze/agent/TrailblazeElementComparator.kt:366-379 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-agent/src/main/java/xyz/block/trailblaze/agent/TrailblazeElementComparator.kt:287\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-agent/src/main/java/xyz/block/trailblaze/agent/TrailblazeElementComparator.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3801389e1ddd59297920810c2f890dd33b197bcc5ddd2c69132501916a8ca10b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/ComposeTrailblazeAgent.kt:189-202 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt:454-465 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/ComposeTrailblazeAgent.kt:189\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/ComposeTrailblazeAgent.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"06af4bcd0cc047c12545cd166e097a0af49f6b7ecd7ebd52e186ef4777f464ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): trailblaze-report/src/main/java/xyz/block/trailblaze/report/PerformanceAnalysisGenerator.kt:178-190 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/RunReportGenerator.kt:454-467 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-report/src/main/java/xyz/block/trailblaze/report/PerformanceAnalysisGenerator.kt:178\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/PerformanceAnalysisGenerator.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26978b02272ba862c1e2afa3ce2d8b0cfa452878866277600275bd8c2fc8946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt:108-120 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ViewHierarchyFormatter.kt:14-27 \u2014 before extracting anything, compare \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt\u0060 and \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ViewHierarchyFormatter.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt:108\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b3cfcc38a25bbf017299ce1c5dfd0069398a40fe30ddf355239432dea97a28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt:147-163 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ViewHierarchyFormatter.kt:56-71 \u2014 before extracting anything, compare \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt\u0060 and \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ViewHierarchyFormatter.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9118edc79a93a1ff19697905ac8cd005562284640180a2a4ba424bf09d1106e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt:226-239 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt:338-351 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt:226\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81a4d1e54fb8f3a6f12bca4fae05bb0088cd4523962e44ffd6d031ea39dbf66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/agent/DirectMcpAgent.kt:384-396 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt:173-185 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ViewHierarchyFormatter.kt:85-96 \u2014 before extracting anything, compare \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt\u0060 and \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ViewHierarchyFormatter.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/agent/DirectMcpAgent.kt:384\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/agent/DirectMcpAgent.kt"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"1273bb6516a7103c8b3cf89a9266f0b2d3e78c0d42d11f267a81668409f6bcba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201313 lines \u00D7 3): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recordings/UnifiedRecordingWriter.kt:826-833 | trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/DaemonScriptedToolBundler.kt:978-987 | trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/ScriptedToolDefinitionAnalyzer.kt:894-906 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recordings/UnifiedRecordingWriter.kt:826\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recordings/UnifiedRecordingWriter.kt"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a63c3e295a882d849af555541c93fac2fec974c3deccf27e06dee2922880b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 3): trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt:1216-1228 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt:422-434 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt:417-427 \u2014 before extracting anything, compare \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt\u0060 and \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 192 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt:1216\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt:1230\u0060 calls \u0060onProgressMessage\u0060 and \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt:435\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"9add444f8e7966e4a3c940ca74f94fa3db5e42722b6abd7e7bdcf1deb767dd03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt:183-195 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt:293-305 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt:405-417 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt:183\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e09f32c162394bd87eb2426d3d4a02e86dd50d30f8034b9c3631177a5505af2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/TrailblazeAgentContext.kt:191-203 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/TrailblazeAgentContext.kt:330-342 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/TrailblazeAgentContext.kt:191\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/TrailblazeAgentContext.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66bd50e85df693013e7f654ed14905bcb6b0446dfcc9b518e9543efdd183fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt:392-404 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt:673-685 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt:392\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c247531e426f3286d86c59130df5941b69ee1f91d18d0964ce31ebd91388cdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/tune/WaypointTuneCommand.kt:138-150 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/tune/WaypointTuneCommand.kt:248-260 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/tune/WaypointTuneCommand.kt:138\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/tune/WaypointTuneCommand.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a9d956d73b2f7daf7f63c743be716a98058683e6363a16f5e8e7c0539cba90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/rpc/ConnectToDeviceHandler.kt:47-59 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RecordRoutes.kt:1145-1156 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/rpc/ConnectToDeviceHandler.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1d6f7a12418064a935177f5db7f76a52a0e6fbb915d9acbdbdc92421546d67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201313 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/HostScriptedToolLauncher.kt:894-901 | trailblaze-scripting-subprocess/src/main/kotlin/xyz/block/trailblaze/scripting/subprocess/McpSubprocessSpawner.kt:218-230 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/HostScriptedToolLauncher.kt:894\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/HostScriptedToolLauncher.kt"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa12b31705fec8dd3036955c10918f9804bcd7999622a1c9e30762237862aba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt:52-64 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt:101-113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d471faf14539eb1a432fbd26c27f4f95662485dd74ed37a18d49cb682eafb30a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mcp/agent/KoogStrategyGraphAgent.kt:502-513 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mcp/agent/KoogStrategyGraphAgent.kt:554-565 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mcp/agent/KoogStrategyGraphAgent.kt"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6ab3b7a09b2eeb4e6f4f35435f46213e4c9931a6f39644af12d66e16e33530"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/TapOnByElementSelector.kt:139-150 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/TapOnByElementSelector.kt:152-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/TapOnByElementSelector.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61133ed5b5a6c1e58a582ba84cbb0f219977fda4a1e220c7be706249706281f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt:425-436 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/executor/HttpMcpToolExecutor.kt:247-258 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt:425\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt:443\u0060 calls \u0060isNotBlank\u0060 and \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/executor/HttpMcpToolExecutor.kt:259\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4d5c439fe9628a9a543b3be47f5f16e46d1edc34475f5290c1e145bbeea9c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201312 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CompileCommand.kt:298-309 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/WorkspaceCompileBootstrap.kt:373-378 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CompileCommand.kt:298\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CompileCommand.kt"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe8b6a60f9b2adbc6149e4e3651adb84d25d4ddb44eebaa66ecfba5ace2203c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DeviceCommand.kt:567-578 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DeviceCommand.kt:684-695 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DeviceCommand.kt:567\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DeviceCommand.kt"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"32945dcfcefc4588cfa160bffd39ed0846a97d195bc1b12cabb560b71b3e1f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt:756-767 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt:784-795 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt:756\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3bc073aefe9c7784d55b73ac26ef0c1c6a55a383da864788de465f7bb7a6b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt:333-344 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt:336-347 \u2014 before extracting anything, compare \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt\u0060 and \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 192 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt:333\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"981742d8539aae15331b0a73f21794a62213051677e477a2f4e24ef80e5d11fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/util/BufferedImageUtils.kt:48-60 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt:2303-2314 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/util/BufferedImageUtils.kt:48\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/util/BufferedImageUtils.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4747db086b6c0f6a4b546777ce687a72fffd84fc15dc1a397143a2cb01751258"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeCompat.kt:47-58 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeCompat.kt:69-80 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeCompat.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"18799933b28dc376cfb7a34dca7939eb5dcef5fb848049c9f512186657f62a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt:75-87 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidView.kt:78-89 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt:75\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"939af2d16775e4357d046620d1fb50a741dcca904fa9ca3b84f282d483e3eb16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:574-584 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:753-764 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:574\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"72231bfa49a3f1cbf06f5effdfa8fa5a82641939cdf03d33bfc3e884498bd9b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): trailblaze-report/src/main/java/xyz/block/trailblaze/report/models/SessionSummary.kt:99-110 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/models/SessionSummary.kt:253-265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/models/SessionSummary.kt"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81a3e6f1d340d5db98c7582af24020ddd0453240d2d7ce94c239e24619bb497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt:217-228 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/resources/TrailblazeMcpResources.kt:173-183 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae5277e6cd88504eb61b093f711f4763ca9b2dcf234e53abbe47cb0e8a833ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1039-1049 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1125-1135 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1479-1489 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1039\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f5606d81ee5530c283a1b4f07406b7d2773df549523d8ea9f0464757d9fc08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/matching/TrailblazeNodeMapperMaestro.kt:53-63 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/matching/TrailblazeNodeMapperMaestro.kt:80-90 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/matching/TrailblazeNodeMapperMaestro.kt:91\u0060 calls \u0060toBoolean\u0060 and \u0060trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/matching/TrailblazeNodeMapperMaestro.kt:64\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/matching/TrailblazeNodeMapperMaestro.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d410f1279132349e7d26a35d6ca1d82f36ec1d3bcb6826382faf593bef7714"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt:350-360 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt:530-540 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"10eeeb95784a495e6ed19146009260f938bb681155f572e6fa37cce6361b01e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SegmentListCommand.kt:58-68 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/tune/WaypointTuneCommand.kt:112-121 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SegmentListCommand.kt:58\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SegmentListCommand.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bffc9e0591452a81b6e25e6532e4a973f0d8002811447788dc778e8bbfd624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorMatchCommand.kt:167-176 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorSuggestCommand.kt:243-253 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorMatchCommand.kt:167\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorMatchCommand.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7872157bb81a29afbc0cc26b23db9f2cf96040f6bee49dccdc8ad76ba256f0e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/SelectorDialectLint.kt:493-503 | trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailTargets.kt:41-51 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/SelectorDialectLint.kt:493\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/SelectorDialectLint.kt"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da7415ab4fe3b216032350696f8e1f56065e7f44ddd4b8c19b9e207380d0097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeDeviceManager.kt:653-663 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeDeviceManager.kt:702-712 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeDeviceManager.kt:653\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeDeviceManager.kt"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e70fda159a35e9190cbcf01036a35a6f071ee4e613cc73928ec91d51148289"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/rpc/DeviceApiEndpoint.kt:185-195 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RecordRoutes.kt:128-138 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/rpc/DeviceApiEndpoint.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb17e850b62b86bfaa671c9c1f96b9fb8469f9ee8a8eb0d73f9113096a49467b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/util/BufferedImageUtils.kt:31-41 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt:2286-2296 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/util/BufferedImageUtils.kt:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/util/BufferedImageUtils.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a868130a036ae4ac2d5e2db2eeea710ee4c3bc9084fdb5f92c736b2b1d7e15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt:52-62 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidView.kt:55-66 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt:52\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdefd7990ec28ef2439445c5398a168f72f776bf13ec85408766962870f8df1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/recording/InteractionEventBuffer.kt:56-66 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/recording/InteractionEventBuffer.kt:78-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/recording/InteractionEventBuffer.kt:56\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/recording/InteractionEventBuffer.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0df49dc32ad894029e867dda3c78771d58261ea81023013d09afc696b6be54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolMeta.kt:73-83 | trailblaze-scripting-mcp-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/scripting/mcp/TrailblazeToolMeta.kt:83-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolMeta.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94b1945b587031619b68264eb23d4c9db3a554640c24c15bc77f13360f40946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt:3140-3150 | trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt:3176-3186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt:3140\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":3140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9087c1261583ccd56a7aa9dc72eb7b3ab5567a772f91831357b7946742f9ad71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt:213-223 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt:324-334 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/LocalLlmSamplingSource.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3b0a57bce3dcb1aa7a9b444cab7a991159bb70998737119cc098faac7c7052"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): trailblaze-tracing/src/commonMain/kotlin/xyz/block/trailblaze/tracing/TrailblazeTraceRecorder.kt:221-232 | trailblaze-tracing/src/commonMain/kotlin/xyz/block/trailblaze/tracing/TrailblazeTraceRecorder.kt:268-279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-tracing/src/commonMain/kotlin/xyz/block/trailblaze/tracing/TrailblazeTraceRecorder.kt:221\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-tracing/src/commonMain/kotlin/xyz/block/trailblaze/tracing/TrailblazeTraceRecorder.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a93d491584bbbf7e87fb5b5927db258a00079fd3ef4386ee097f823cd30905"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): trailblaze-common/src/androidMain/kotlin/xyz/block/trailblaze/InstrumentationUtil.kt:364-373 | trailblaze-common/src/androidMain/kotlin/xyz/block/trailblaze/InstrumentationUtil.kt:376-385 | trailblaze-common/src/androidMain/kotlin/xyz/block/trailblaze/InstrumentationUtil.kt:388-397 | trailblaze-common/src/androidMain/kotlin/xyz/block/trailblaze/InstrumentationUtil.kt:400-409 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/androidMain/kotlin/xyz/block/trailblaze/InstrumentationUtil.kt"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"79aad782f3efc0ad6c7e27656fa37b2a41948654876ea4f96bca43eea9bf2e05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt:362-370 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt:592-600 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt:542-551 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/RunReportGenerator.kt:849-857 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"6590596fce3327b98cd755d8c4b29eb6b360ccd2d8e8c94d7d59c27ae343117b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 3): trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt:928-937 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt:977-983 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt:1014-1020 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt:928\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"980451130625b5f8090a3c8c0b56af4beda156dd9b1e448699955329db216919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:580-589 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:729-738 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:760-769 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:580\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"2987143ea46a2018e9569e20cc22dd8903c84e1604c47152ef456acb456fadb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): build-logic/src/main/kotlin/TrailblazeBundledConfigTasks.kt:1134-1150 | trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/DaemonScriptedToolBundler.kt:261-277 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060build-logic/src/main/kotlin/TrailblazeBundledConfigTasks.kt:1134\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/TrailblazeBundledConfigTasks.kt"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28a65750720d15b93858dc7e1e962d2c6132e06db5a67ef322e27adb4e85733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recording/InteractionRecorder.kt:151-160 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recording/InteractionRecorder.kt:169-178 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recording/InteractionRecorder.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"468f86878b3cea089ef6c641d7574d11ff5b0d5046c2aaac577005ed707ffc06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt:497-506 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/executor/HttpMcpToolExecutor.kt:278-287 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c65db42ea4f8f54b9802916bd860b02541ca7a0db709a883bf1a7a5638417e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt:564-573 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt:357-366 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f11fc8aea91a64bf941f622a4b8c1b5eb60e5300b9844134b1ab263d3fca6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorMatchCommand.kt:198-207 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorSuggestCommand.kt:258-267 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorMatchCommand.kt:198\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorSuggestCommand.kt:255\u0060 calls \u0060screenCache\u0060, \u0060ScreenStateCache\u0060, \u0060capture\u0060 and \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorMatchCommand.kt:195\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorMatchCommand.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8a60a92ba496c80e975156b35b0d695f1e501ac981fe85ba80e76c2c3a966d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/HostScriptedToolLauncher.kt:495-504 | trailblaze-scripting-subprocess/src/main/kotlin/xyz/block/trailblaze/scripting/subprocess/McpSubprocessSpawner.kt:141-150 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060trailblaze-scripting-subprocess/src/main/kotlin/xyz/block/trailblaze/scripting/subprocess/McpSubprocessSpawner.kt:152\u0060 calls \u0060startsWith\u0060 and \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/HostScriptedToolLauncher.kt:505\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/HostScriptedToolLauncher.kt"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f5e9d982c7f3bd90863f0bc4802e5052d7efb6f0c0adb862a0e2da0986bff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt:300-306 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt:366-375 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt:300\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f34a3cbec488b044fed279ecb863839c25e0b8154d557a1c2ddf5b9bacb6fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt:318-327 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt:352-360 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt:318\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7ab562891b9476db272b3cb777cbdd631628bfb7cd2655e1022f29e3686335"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt:49-58 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/IosCompactElementList.kt:46-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ea4373654598c19db6f8bfcba6f19b4b1eb99b926c146c4fed7ad7c77a330f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): trailblaze-models/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/llm/config/ClasspathResourceDiscovery.kt:31-40 | trailblaze-models/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/llm/config/ClasspathResourceDiscovery.kt:165-174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/llm/config/ClasspathResourceDiscovery.kt:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/llm/config/ClasspathResourceDiscovery.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2958aadc58352b3ae51aeeb755e803702e8556bcf7e90ca8e99315898e85a955"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:527-536 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:549-558 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:527\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2d23d0cd217059e8b2bcc0cb3f0a3b55d3adfa7096e10c2e36180807e87a3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeCompat.kt:22-30 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeCompat.kt:45-53 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeCompat.kt:67-75 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeCompat.kt:91-99 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeCompat.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac4135416477c1e176ba7089c024e0d9d964b26702a584bd9ffb35dbd209153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt:650-658 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt:741-749 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt:803-811 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt:650\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"627b6c63f46c491027a5fda7bda6bba498216889fd18bb4cd95a54a09c8429eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt:386-400 | trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt:736-750 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8cb5ebaf119bfafe5fb74a9cd3a81517232f0313d79439164c65e60296f902"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt:548-555 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt:338-346 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt:338\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e8d2f077cb74a43a31fa13b1179d1fdb50c00038aab82b81ffec7229b04c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolRoutes.kt:218-226 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt:382-390 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolRoutes.kt:218\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolRoutes.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"146796c3053811d17c191e6b357f24491e5cc57d2f01d3948cc7276c47cf3b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:482-490 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:562-570 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:482\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9373cfc33d8002f67b2771352c6324f112d0f58f40d80e7db7abb0be7bc559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 3): trailblaze-host/src/main/java/xyz/block/trailblaze/host/PerTrailmapClientDtsEmitter.kt:489-494 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/PerTrailmapClientDtsEmitter.kt:726-731 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt:920-927 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/PerTrailmapClientDtsEmitter.kt:489\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/PerTrailmapClientDtsEmitter.kt"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"8235ed745693a34182c75202fb4b9a3ebee6807f462169c6adec2d9f1201d789"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidMaestro.kt:58-65 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidView.kt:177-184 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorIosMaestro.kt:122-129 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidMaestro.kt:58\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidMaestro.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"261c5ea018cbfcacbdb339d1f51862fff87286bad36f8082d634924dbe76b3b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt:137-144 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ViewHierarchyFormatter.kt:43-50 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/SubagentOrchestrator.kt:109-116 \u2014 before extracting anything, compare \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt\u0060 and \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ViewHierarchyFormatter.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbc4ea5fdf57205767d9b88ea40751c34529fd4f58cb2ea0c2704dbffa8d909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): build-logic/src/main/kotlin/TrailblazeBundledConfigTasks.kt:140-147 | build-logic/src/main/kotlin/TrailblazeBundledConfigTasks.kt:189-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/TrailblazeBundledConfigTasks.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"864ff4a47cacc04752b8e3fcf4b8b71462c5083f30fe3f1f4127378e7c4c1ccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityTrailRunner.kt:399-406 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/IosDriverTrailRunner.kt:318-325 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityTrailRunner.kt"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa8b723533cd0fe5862368835e0ea2d79aae073d03f318ed901b1fe05ab7f53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailmapExportedToolsResolver.kt:76-83 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/PerTrailmapClientDtsEmitter.kt:759-766 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailmapExportedToolsResolver.kt:76\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailmapExportedToolsResolver.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c794f840da4e35cabde80ca9ce90cce858fae0e654ee9f825157d341583cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1455-1462 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1546-1553 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1455\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"028ba4d35a0ee1ec64e2fe15c3e479aa74910cc669b1ce846081a174a74985aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/WorkspaceTypeScriptSetup.kt:161-168 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/WorkspaceTypeScriptSetup.kt:232-239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/WorkspaceTypeScriptSetup.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bb9b53fa78d39ae1d103ce7c62db9250124a65242a3aea5c73d5d3b83470ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRunnerEndpoint.kt:210-216 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRunnerEndpoint.kt:267-274 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRunnerEndpoint.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"118aea9320a70bb161b51b964c366e9a8a6c9118874242553b64066167706483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt:171-178 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt:311-316 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt:171\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e6cf73c932aa30fba9c2554f04cdd4ccbfad3d91205c032fab4a0b322f215e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:720-727 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:750-757 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:720\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"9294f87562a3349c5e49c895f67b36ed8c44da61b7b92f24d27e8df36433fa0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt:273-280 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt:368-375 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt:273\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060match\u0060 to \u0060DriverNodeMatch.AndroidMaestro\u0060 in one and \u0060DriverNodeMatch.IosMaestro\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da17f9d0d98862d02c740e967db1e8224c20887ff81f4cbbbb11c6c2fd781a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/llm/config/BuiltInLlmModelRegistry.kt:278-285 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/llm/config/LlmConfigResolver.kt:180-187 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/llm/config/BuiltInLlmModelRegistry.kt:278\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/llm/config/BuiltInLlmModelRegistry.kt"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e52f20d7a9f3ab3973bddd2c9381e749cb4538e6c00190b63944e01b742e05e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:454-461 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:468-475 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ed4903d2454affa26c0cf80072a2957bb3d1a4b7835bae5b541e6e907d05bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt:350-357 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorCompose.kt:156-162 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorIosAxe.kt:152-162 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorWeb.kt:79-85 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt:350\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a6e228adc6a4564c214f2a48a196f3b6eaa8ebe8913f859808caea2fc45ed0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): build-logic/src/main/kotlin/SelectorTsCodegen.kt:345-351 | build-logic/src/main/kotlin/SelectorTsCodegen.kt:661-666 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060build-logic/src/main/kotlin/SelectorTsCodegen.kt:345\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/src/main/kotlin/SelectorTsCodegen.kt"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"84009744de1bec863cb4feee7a54eb465a0f0b5b73cfe5064088491481531c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt:408-424 | trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt:758-774 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e6a8ce5b0cda4d384fd35133a600f572bc93c8c8fc0a6f99f432d169102ccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt:538-544 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt:325-331 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a7d305c465c8bba009ab50efa5359223246dbe4835a17c0d3e1f8ac8b2cf2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolRoutes.kt:204-210 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolRoutes.kt:294-300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolRoutes.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"925d374758acd20512c45dfdfe0432209e94c84a49978f9c242e70274cab02c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelector.kt:448-454 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelector.kt:517-523 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelector.kt:448\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelector.kt"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f62b54c3782dc6586352d80611bd40058574a702e01686173ef4168cb2ddaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/devices/RequiredDeviceClassifiers.kt:60-67 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/toolcalls/SensitiveArgsTrailblazeTool.kt:96-103 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/devices/RequiredDeviceClassifiers.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06970299ec2b190bbdd032da0d5191d92f83f51df832d8b0903fd730113694f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:421-427 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:441-447 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"838e3d2f5b04961a5d0565115a4453fb9ca65557ea9b7038d55d7f360ae0e49e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ToolDiscoveryToolSet.kt:638-644 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ToolDiscoveryToolSet.kt:985-991 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ToolDiscoveryToolSet.kt:638\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ToolDiscoveryToolSet.kt"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1c503574a86f7185ae739a612f7b6ebfc81fbffe09cee898d68487ca88b883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ToolDiscoveryToolSet.kt:640-646 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ToolDiscoveryToolSet.kt:931-937 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ToolDiscoveryToolSet.kt:640\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ToolDiscoveryToolSet.kt"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"22987fc20d088a6db26f47851390f6eb6d93c114fbc28c5c7c8e97b3b66a1c35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailmapExportedToolsResolver.kt:62-67 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/PerTrailmapClientDtsEmitter.kt:492-497 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt:925-930 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailmapExportedToolsResolver.kt:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailmapExportedToolsResolver.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a52d2a039141ec8a3b237d50ef105a8c1fcb86e0e4244a5dd547a9bc8d7393"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt:469-475 | trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt:819-825 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5dd45798d12d100760dcb20d3d36a2628dda62714b05b833d9f65fecb350c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/ToolNameSuggestions.kt:69-74 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/VisibleStrings.kt:508-512 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/ToolNameSuggestions.kt:69\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/ToolNameSuggestions.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"589d5dc93c624c74ce2633bb955896bebab7848bba273aa47b3fa71fb3ae3192"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt:732-737 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt:823-829 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9690e1245bca9b2d8cdb2dbcf5a2fcb711f682fd09fd3aebf6593ef1becd503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt:514-520 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt:234-240 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f83900a59232dd461c0fef6d5359510522488ec3789b36c267f32432133b92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/AndroidVectorIconRasterizer.kt:280-286 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/AndroidVectorIconRasterizer.kt:290-296 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/AndroidVectorIconRasterizer.kt:280\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/AndroidVectorIconRasterizer.kt:287\u0060 calls \u0060uppercaseChar\u0060 and \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/AndroidVectorIconRasterizer.kt:297\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/AndroidVectorIconRasterizer.kt"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b13f4e7d702817c00bd6a213f7350ac41999f3a149b850c5a76ecb7f65f5b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/AndroidVectorIconRasterizer.kt:299-304 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/AndroidVectorIconRasterizer.kt:307-312 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/AndroidVectorIconRasterizer.kt:299\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/AndroidVectorIconRasterizer.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6fc5017953d7638e4f446c6df95806f2df20d322cf01ce49960a310c01920d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolCatalogBuilder.kt:129-134 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolCatalogCache.kt:63-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolCatalogBuilder.kt:129\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolCatalogBuilder.kt:128\u0060 calls \u0060add\u0060, \u0060getOrDefault\u0060 and \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolCatalogCache.kt:62\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolCatalogBuilder.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"474daa26d51792c36bade2b192043b14c5853b44203d6f749d5c9b9427cf20e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolRoutes.kt:360-365 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolRoutes.kt:372-377 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolRoutes.kt:360\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolRoutes.kt"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"176dfe3606164153bfda7967650c4dc6eee65719e8a005b1e44eb1223f7e03d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt:24-31 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt:291-298 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac78fbb68f36967368bbe19f785f2c237a0bf3132c6357dd85b3ff057bae08e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt:1581-1586 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt:1626-1631 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt:1581\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"587defbc62e6ef1a517c9e397ddaaffd6b1e12464aecfce8283f8aadae3ee042"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/tune/WaypointTuner.kt:221-225 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/tune/WaypointTuner.kt:277-281 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/tune/WaypointTuner.kt:329-333 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/tune/WaypointTuner.kt"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6534861245e2b207c775a93705cfa3e4dfe43a02444204e057de309c879a254"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/MaestroCommandConverter.kt:381-394 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/MaestroCommandToIosDriverActionConverter.kt:294-305 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/MaestroCommandConverter.kt:381\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/MaestroCommandConverter.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea659df65fa2d4d704ab93a6fec7bb3ba36559d49f0fb869dc05480ba9cb8412"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolboxFormatter.kt:492-497 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolboxFormatter.kt:502-507 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolboxFormatter.kt:492\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolboxFormatter.kt"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa9ee8203ea044cf472f2a5d82cca6c9ac1db7429210bca15ca6cb59194c253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/AndroidVectorIconRasterizer.kt:276-280 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/AndroidVectorIconRasterizer.kt:296-300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/AndroidVectorIconRasterizer.kt:276\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/AndroidVectorIconRasterizer.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf2cbe665d576cf2a5d23852412c3bda2c7dfd4f821e94d2db6a9816586d004"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/recording/PlaywrightDeviceScreenStream.kt:440-444 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/recording/PlaywrightDeviceScreenStream.kt:604-608 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/recording/PlaywrightDeviceScreenStream.kt:440\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/recording/PlaywrightDeviceScreenStream.kt"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7817fa834bba0d8be3ac80a74d16a54827249aa7d5c05b4a43717f39416bd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt:2891-2895 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt:132-136 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt:2891\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":2891}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c224b67a6d27f1e7cb5fc505425f64dfcaea66dfa0e99ea99006c3e7604b7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt:239-243 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt:245-249 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c2b842fbc2fc1c409aa72e01c907eabd1e053d13bd1fedbcc40d35cde18ec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): trailblaze-trail-format/src/iosMain/kotlin/xyz/block/trailblaze/util/Console.ios.kt:14-50 | trailblaze-trail-format/src/wasmJsMain/kotlin/xyz/block/trailblaze/util/Console.wasmJs.kt:10-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trail-format/src/iosMain/kotlin/xyz/block/trailblaze/util/Console.ios.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2507ae258722834d65f2f5079eae33c7a67d37ef12ac4f3aa44a0164534f978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt:158-164 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt:165-171 \u2014 before extracting anything, compare \u0060trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt\u0060 and \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1edd9671e8ee599cfcd745d8467bdaf52b7e64a9bd419cc2e0650306230a645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt:257-266 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt:264-273 \u2014 before extracting anything, compare \u0060trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt\u0060 and \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3720eb2d7c2f1eee7ec946615467cea78f4f54db96b4f1a85d00a2d2b50aaa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityNode.kt:194-200 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNode.kt:113-119 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060predicate\u0060 to \u0060(AccessibilityNode\u0060 in one and \u0060(TrailblazeNode\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNode.kt:109\u0060 calls \u0060centerPoint\u0060, \u0060Pair\u0060 and \u0060trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityNode.kt:191\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityNode.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"040758d41ca2b9b26cbfd103d1bb0cdf257179de94e1809fe1c878d5fb9c4976"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityTrailRunner.kt:455-463 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/IosDriverTrailRunner.kt:361-369 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityTrailRunner.kt:455\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityTrailRunner.kt"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db0a8ab36dda3065235e028b9e5eff56a5d1e5e9cdf1c287980c28c5dade20b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): trailblaze-common/src/androidMain/kotlin/xyz/block/trailblaze/AndroidDeviceLocale.kt:178-187 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/devices/DeviceLocaleConfigurator.kt:71-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/androidMain/kotlin/xyz/block/trailblaze/AndroidDeviceLocale.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"726a6132dbb58bc46609313da785825b1a8c1464a3d18cf54ec4242167db3422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt:602-606 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt:553-557 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"6100c2c1c7eec885744bda19de64ff747098d64d3778701cd2543c30df9baa9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt:608-612 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt:559-563 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliReportGenerator.kt"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e04c3dcf17caa551e9dd65400ab67497bd61474ab62c3b049e4e4a134cacd5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/MaestroDeviceScreenStream.kt:123-127 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/OnDeviceRpcDeviceScreenStream.kt:181-185 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/MaestroDeviceScreenStream.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"118b50a74d0e602aa3e2cc855727fd7627338d427248db8f6fcabcb877976023"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/ScriptedToolDefinitionAnalyzer.kt:432-442 | trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/ScriptedToolDefinitionCache.kt:526-536 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/ScriptedToolDefinitionAnalyzer.kt"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9211502ca4fbc8e982ca509172fea54d980ef05dc86faff87d48bdc1a85ab9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightAriaSnapshot.kt:1010-1016 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeNodeMapper.kt:259-265 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightAriaSnapshot.kt"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a12ce4459bdab9a670c6d3d5b15ef551abbed6dbb5b8864c1ae3879bf31a5dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt:220-225 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt:74-79 \u2014 before extracting anything, compare \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt\u0060 and \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"844910406704a8bb57ec43ec776aee4360dd57bc763a760e327a42f8a5b3158f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/console/WebConsoleCapture.kt:262-267 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/network/WebNetworkCapture.kt:755-760 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/console/WebConsoleCapture.kt"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc834e2e09114c59e7f609fcb72ab7882d30b25a002a49bab19add28afbd2ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolMeta.kt:117-121 | trailblaze-scripting-mcp-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/scripting/mcp/TrailblazeToolMeta.kt:172-176 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolMeta.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b670eb76595fa03b2455713fc562c363c20c17277e5ecb5f4fa0a0d636a73da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-report/src/main/java/xyz/block/trailblaze/report/PerformanceAnalysisGenerator.kt:167-171 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/RunReportGenerator.kt:417-421 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/PerformanceAnalysisGenerator.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"320717546fa6bd82c4be9e7bf30ee601a6534bc760b6a2b825db4c2a7c4cc411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt:126-134 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ViewHierarchyFormatter.kt:29-37 \u2014 before extracting anything, compare \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt\u0060 and \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ViewHierarchyFormatter.kt\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ObservationToolSet.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fbdc095a8ae0676d0aa659f1424ab87255c492502f8bb69a1f158f66f9c1c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailArgConfig.kt:135-139 | trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/TrailblazeDeviceDefinition.kt:234-238 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailArgConfig.kt:135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailArgConfig.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"789bafdfe4fee866118d04bb6ce3d8a7886de10fad3449ac50a17ce25e2e9fee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityNode.kt:203-208 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNode.kt:122-127 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060predicate\u0060 to \u0060(AccessibilityNode\u0060 in one and \u0060(TrailblazeNode\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityNode.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c526194771c8a512f4658bcc26a2e0ff17fe071467a733d4f47fe8d5724df85c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/LiveFrameConsumer.kt:255-270 | trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/WallClockMuxConsumer.kt:451-461 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/LiveFrameConsumer.kt:255\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/LiveFrameConsumer.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"5172d68e8c1e41a6c808e0ad9b16562fc417b77a8785489efbfcc4affc2b0440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/MaestroHostRunnerImpl.kt:391-405 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/WebStreamScreenshotSupport.kt:102-117 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/WebStreamScreenshotSupport.kt:102\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/MaestroHostRunnerImpl.kt"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6b6adc6f0dfca3e970d8b67bc53ca0c710d408257e462cf0bffad7757fcdff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:898-912 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1110-1123 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:898\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d281f05fd20f2a9eab7f78bc99e7c6cfb7f773f3d5453c7c96f8035c61d272f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/ScriptedToolDefinitionCache.kt:306-319 | trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/ScriptedToolDefinitionCache.kt:475-485 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/ScriptedToolDefinitionCache.kt:306\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/ScriptedToolDefinitionCache.kt"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9c25d5711552a6b6a0359391a5e8a55df8245adf2486e45be453cded1346f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt:445-455 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt:725-737 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt:445\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"a546af946e3ec0ce1a0e8ec01025fbd32d1c9ac8cf8559fd5981ab636a5a79d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt:376-386 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailMcpTool.kt:181-192 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt:376\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"2688387367fe05afb4d0668a34122016548fc10413d22cf75ac53827b130628f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/android/tools/AndroidAccessibilityClickTrailblazeTool.kt:50-71 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/android/tools/AndroidGestureTapTrailblazeTool.kt:52-73 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/android/tools/AndroidAccessibilityClickTrailblazeTool.kt:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/android/tools/AndroidAccessibilityClickTrailblazeTool.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ebff2e6e7cb7711ca468103fec8af7759bb04a71c221202f7e766d828bd64d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailMcpTool.kt:646-655 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailMcpTool.kt:751-760 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailMcpTool.kt:646\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailMcpTool.kt"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"5716c33418af63d0bc5c64787f9019b8ed184cf54e1c5afc2bde58d631098986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1027-1036 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1467-1476 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1027\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1025\u0060 calls \u0060resolveEffectiveHttpPort\u0060 and \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt:1465\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d5c463d60293f13b644bd7c6c4d6e5cd505f16346c6ae3afde3b20e0416bc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailMcpTool.kt:615-624 | trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailMcpTool.kt:784-793 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailMcpTool.kt:615\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailMcpTool.kt"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b30e2421599cbd109af95f5b0e5cfd5bf6db3ebe1fc31b1c455718fbf779e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt:296-305 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt:362-371 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt:496-502 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt:296\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e566543bbd9d7051e04a438f15839d5ec37e9839c6f9eb483222b543cf194c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SettingsRoutes.kt:333-342 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SettingsRoutes.kt:376-384 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SettingsRoutes.kt:333\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SettingsRoutes.kt"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5a1de089098d9ea9e447d66ab07af6e9f7330fceab5811d04c5395c37ef46d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailblazeTrailmapManifestLoader.kt:411-420 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailblazeTrailmapManifestLoader.kt:448-457 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailblazeTrailmapManifestLoader.kt:411\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailblazeTrailmapManifestLoader.kt"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"38410f146a69de0d1410a81f30d361bc1d57fc90dc69f4c66bdea561e3e2ce74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointLocateCommand.kt:392-401 | trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointValidateCommand.kt:171-180 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointLocateCommand.kt:392\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointLocateCommand.kt"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"6864b2ea6f66382d23733ff4e0464b4a1628d4530604e0e8fcfaed0bc9c7bb3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt:299-307 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt:338-346 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt:299\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdef08e643ca7ace6ed2f5558939e5031758b728251d3892a451d2f78f341eb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidView.kt:31-38 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidView.kt:165-172 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidView.kt:31\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidView.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7716300579871ffe4c4217c090a99b78313978e1d7b5f9904e5f231bd48cf6ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): trailblaze-report/src/main/java/xyz/block/trailblaze/report/PerformanceAnalysisGenerator.kt:193-200 | trailblaze-report/src/main/java/xyz/block/trailblaze/report/RunReportGenerator.kt:470-477 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-report/src/main/java/xyz/block/trailblaze/report/PerformanceAnalysisGenerator.kt:193\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/PerformanceAnalysisGenerator.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9580bd97c28b79e4c1757565c76ea8c610a5da586b914644497effa2427da8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/tools/PlaywrightNativeVerifyElementVisibleTool.kt:33-39 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/tools/PlaywrightNativeVerifyValueTool.kt:53-59 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/tools/PlaywrightNativeVerifyElementVisibleTool.kt:33\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/tools/PlaywrightNativeVerifyElementVisibleTool.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b967e872111b5f8c9a13eed5798aed809a14fda674f364d30f25ee4f2d62896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExternalAgentRoutes.kt:95-101 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExternalAgentRoutes.kt:353-359 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExternalAgentRoutes.kt:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExternalAgentRoutes.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a3bbe9fb2a2e734cdd26739f4208bacfb95da20fef6e9eaf9c620a10917579"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExternalAgentRoutes.kt:156-161 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExternalAgentRoutes.kt:186-191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExternalAgentRoutes.kt:156\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ExternalAgentRoutes.kt"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b995199eb450341ffff50e1f5e399a198591e2efa4c888dd889259bdeb4864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/tools/PlaywrightNativeHoverTool.kt:31-36 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/tools/PlaywrightNativeTypeTool.kt:36-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/tools/PlaywrightNativeHoverTool.kt:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/tools/PlaywrightNativeHoverTool.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5f6f1993a952ef5719411493f674ab5263352a4af4f18a273a6824ba2df224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt:164-168 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt:265-269 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt:164\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e34b0cc113f495309a2c5167fbf17cebc22bfbe912373bea87874cd71d9579"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt:454-458 | trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt:804-808 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5985f0ab1e08b02939f88d48a678a20fa5501d536864fcedc4dcc6ec1bd224"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityDeviceManager.kt:718-722 | trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityDeviceManager.kt:1389-1393 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityDeviceManager.kt:718\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityDeviceManager.kt:1394\u0060 calls \u0060warnIfTargetTypeMismatch\u0060 and \u0060trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityDeviceManager.kt:723\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityDeviceManager.kt"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc9f42d03de937736ca71f8581dfe303a38604324c19f9672736735b76ad74e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/TrailblazeAgentContext.kt:135-139 | trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/TrailblazeAgentContext.kt:300-304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/TrailblazeAgentContext.kt:135\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/TrailblazeAgentContext.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e858acccde931636c1999fc8a8bc247ea6d4409ad3034539a0e1a09f26473282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailLabelLint.kt:149-153 | trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailLabelWriter.kt:122-126 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailLabelLint.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb15b5b93f2aba93ec83be5414a8fd1c660ebd15422f136e90f81d8ba373051"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt:308-312 | trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionStreamRoutes.kt:67-71 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt:308\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef823c3bc9a36b56f19cdba2dbab66ce95613b616c16b11243c28474f743952"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/ElementRefSlug.kt:111-116 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/ElementRefSlug.kt:121-126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/ElementRefSlug.kt:111\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/ElementRefSlug.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"960ea9d3e88216309002138a48691e4c19f886d142ccd650133cd847f570e771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:275-279 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:296-300 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:301\u0060 calls \u0060escapeForIdentifier\u0060 and \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:280\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9372fd6edfdb0e75589bdcb375debd47bd6f8856025146ecbd28927acaed771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:268-272 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt:288-292 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c962a9eedc17a652cd98f0ba610f21160112e352a9c99a58a703e938bd78fc82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt:440-444 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt:470-474 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt:440\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15ee8ef8f882d72a685b3a63dd25797d97c21c7b48692e006f8a5ee621e5a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt:453-460 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt:493-500 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt:453\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorMinimizer.kt"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"5038bdca07c077526731bb0882416574d0538c85cdc51683a2a96e00c812f502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt:389-393 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt:470-474 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt:468\u0060 calls \u0060requireEqual\u0060 and \u0060trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt:388\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d67cfc5b7b72e0a61af17d2fc365c2eb2c3192a4a8dc9b8e90ae699ffe46a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt:626-631 | trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt:781-786 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9d0cb195ebf41a338c4d38f4ea203a82c47c498a15ab41b97cc3198d7185fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/recording/PlaywrightDeviceScreenStream.kt:614-622 | trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/recording/PlaywrightDeviceScreenStream.kt:682-690 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/recording/PlaywrightDeviceScreenStream.kt:614\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/recording/PlaywrightDeviceScreenStream.kt"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eeaf64a7fdd04dfa9b673af4291d6500827807ffb7f3fb026a5ec611205f776"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples/android-sample-app/src/main/java/xyz/block/trailblaze/examples/sampleapp/ui/screens/settings/SettingsScreen.kt:60-72 | examples/android-sample-app/src/main/java/xyz/block/trailblaze/examples/sampleapp/ui/screens/settings/SettingsScreen.kt:75-87 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/android-sample-app/src/main/java/xyz/block/trailblaze/examples/sampleapp/ui/screens/settings/SettingsScreen.kt:60\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/android-sample-app/src/main/java/xyz/block/trailblaze/examples/sampleapp/ui/screens/settings/SettingsScreen.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"613354d8c3dba85f5b1da62b8c75692fdda06465c27b54305fc8830664dc63dc"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project :trailblaze-android-ondevice-mcp: :trailblaze-android-ondevice-mcp has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"baae237817e55c174ddad7935f4060423cfe045ceb3f10596e2f8b537c949f37"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project :trailblaze-host: :trailblaze-host has instability 0.88 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"eef476d748c6a6a410634ab72e0cd11114f1036d9b18a1f56e1b132e726f39eb"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project :trailblaze-server: :trailblaze-server has instability 0.83 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3ce55593114650685333f86cac40e2b20e7da8ab2b49135f78f2053f8bafa298"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :trailblaze-http: :trailblaze-http: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91d47edd192a9997bcd5c6a96f8cdeb1c6a53a0ad8bf4f9351dab61100efff16"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :trailblaze-tracing: :trailblaze-tracing: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 10 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"93b3e6cc9dd5755d59cd04f5ec11c9e6e5f5fca8608af4d7e551b4a0c95c8fb6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :trailblaze-inprocess-apk: :trailblaze-inprocess-apk: abstractness 0.03, instability 0.00, distance 0.97 \u2014 an application entry point, so it is concrete by design \u2014 the distance is expected; what is worth checking is that other projects depend on it at all, since a host should be a leaf of the graph."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"75bc4f9c381c0b59bcc650eb3753baeabc6e2b59ed88b427e6ab1f3a6901688f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :trailblaze-trail-format: :trailblaze-trail-format: abstractness 0.08, instability 0.00, distance 0.93 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4945e3865ed3be832710c3e5a65f776ab845367c61e37a1523af1bf85cf9a46e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :trailblaze-models: :trailblaze-models: abstractness 0.09, instability 0.07, distance 0.84 \u2014 zone of pain \u2014 concrete and depended on by 13 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f6a33ec745d98f320794dd2f18a58d5bf8130d02de547aa1c60db662e4d2ae66"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :trailblaze-scripting-fetch: :trailblaze-scripting-fetch: abstractness 0.00, instability 0.20, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1b8159d7fecda357c9959cea540630ee2cc5bf8c8fd8aa3af6cb5dad61844cfa"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :trailblaze-agent: :trailblaze-agent: abstractness 0.00, instability 0.22, distance 0.78 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"281edf08b8eb0808d9cafdb06e9c001729749e4a3156203bee3349b2a9ee5135"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :trailblaze-ondevice-rpc-proto: :trailblaze-ondevice-rpc-proto: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"191fda9e930451dc42fc3b9fe70ca1d4c95eb5d0632c30e90050a7b74e7fca1f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: :trailblaze-capture: :trailblaze-capture: abstractness 0.07, instability 0.20, distance 0.73 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"148e352451dc56f38518a62a3fb9d70cb3ce1ce0bb07ed9f62878e1906f51a31"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AndroidDeviceCommandExecutor (LCOM4 10): AndroidDeviceCommandExecutor\u0027s methods fall into 10 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 10 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/androidMain/kotlin/xyz/block/trailblaze/device/AndroidDeviceCommandExecutor.android.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4facff255e9875e1b8ab8a93a732cfc96ebbab0b272dd2f43f5197712d9b796"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AndroidDeviceCommandExecutor (LCOM4 8): AndroidDeviceCommandExecutor\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/device/AndroidDeviceCommandExecutor.kt"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae681865da95c989d1558d0f5c2a802b54c7a1a8b8615eec0f68c01dc8975b3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TrailblazeMcpSessionContext (LCOM4 5): TrailblazeMcpSessionContext\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpSessionContext.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"703479c60a085067f2c55678bb43022b497163d9db22134ccd7d35d044e49079"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AccessibilityServiceScreenState (LCOM4 4): AccessibilityServiceScreenState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityServiceScreenState.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58f3043107952f8dd909f11aaf512b5b17cfc65f68069b7363fe5062840222c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MaestroInteractionToolFactory (LCOM4 4): MaestroInteractionToolFactory\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/MaestroInteractionToolFactory.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd9d5cea117fc5e6baac29429e6333bc02547e535dd617be6af870d97fe2419"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SubagentOrchestrator (LCOM4 4): SubagentOrchestrator\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/sampling/SubagentOrchestrator.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e0b4b5ec301becf5d5dc6c5e97367df19b1c9e1469c4ed706e52b2d6ee5d4e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: every line identical to the JVM-produced golden: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-selector-engine-js/parity/engine-parity.test.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"825684cb3ce324ab5f2290fdd51763b5d6aa7ae66cf90cf27f00ee16ce82d119"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: waits for another run writing the same session, so neither saves over the other: This test starts work it did not wait for (\u0060holder\u0060, still running when the sleep starts) and then orders itself against it with \u0060Bun.sleep(5)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stream.test.ts"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63ef91d69b8b364772f501f5f5dffedce1b9836b10bc875576fc34cc7850931"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: com.guardsquare:proguard-gradle: \u0060com.guardsquare:proguard-gradle\u0060 7.8.2 is published on Maven Central under \u0060GPL-2.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9c7ec9173e3ff51b4d7d691a3d80fe0846d08024cdf2e1d988d07f425d99a1df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 4771 in run-report-viewer.RUN_REPORT_VIEWER at line 60. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4589c000d32c70853cc6e9975518bd1abe3c509f815a3d59080eae8f1f94dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 198 in run-report-extract.extractTrace at line 556. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc7a1d77a4e4d3b347352c7f8e5dfd162d561f6c81f0a327567f8576941d6df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 575 in record.RecordScreen at line 474. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"500a3847351d7b64c82ef283bd4d916167801a256cfaa4f9cb9d1e253b361cb6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 221 in runconfig.RunConfigDialog at line 6. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f9b99aaae7f0ae4aa4b31526675b8ed4e3b8526a8701cd9c0b67d7fc361835"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/host/yaml/DesktopYamlRunner.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/host/yaml/DesktopYamlRunner.kt changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in DesktopYamlRunner.runYaml at line 1017. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/host/yaml/DesktopYamlRunner.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/yaml/DesktopYamlRunner.kt"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c720b009336ae2d45cf2e8c5b26d70ae16f0484d93e3f410259f0bf65f0fc4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 103 in run-report-shell.RUN_REPORT_SHELL at line 771. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30d0e4f2a7181bd4c137785e759683c097d0fd288a3519a59df388b65f4eddd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in TrailCommand.runTrail at line 764. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"63be0fca82f979ba02e19f265b709b33195200887178b0994f74fe83ab9eae67"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in zip-report-core.buildRunMeta at line 521. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js\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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"947e1c4636991e734db71f906f0f5dd5a968efd917a08088c63cff29ef1e2d02"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 258 in perf-viewer.PERF_VIEWER at line 126. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c3137a2fc8a292d5b2f5c827525507b016b09fef70e74ed86f5a36c5dbf5a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt: trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in StepToolSet.step at line 322. 1 of those changes was a fix/bug commit, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt\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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"307ac75138609ee9a65f34526983b4b0c1796a38e4a8b6b862ff7ef2d8501415"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 189 in trails.TrailsScreen at line 6. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d473b463421426cee3c6511f255cdcadc696df7b1c1680b1e916b83ae851bea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 135 in trail-detail.UnifiedStepsBoard at line 262. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7762377cc65626d9decec01531dea7306bc2c7730c2bb6535f07b8e02bcc67"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailblazeRecordingGenerator.kt: trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailblazeRecordingGenerator.kt changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in TrailblazeRecordingGeneratorKt.generateRecordedTrailItems at line 272. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailblazeRecordingGenerator.kt\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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailblazeRecordingGenerator.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"549ff95d2b9280b35b1a81ae8cf2bf4be8f16b8e8b956b75439a8bd1dd13e602"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in TrailblazeMcpBridgeImpl.selectDevice at line 372. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"888dbc61be11eab9877aaff9b5fa56e6c7d206aa5517a96d82379f25d24638ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 90 in shell.App at line 747. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e79323aad32bc8f9a020975fac4a0b8bf9489e68abebe1ee5b25596de68292"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in TrailblazeHostYamlRunner.runHostAgentWithOnDeviceRpc at line 458. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d578b946dda920a77cede281169b9ac92791135e860af74087611c82a781ed0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 124 in sessions.SessionsScreen at line 71. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"120afd4a09e05f682a938ce7c09401bc46b493f4bc58a2302662a1c6120d54a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt: trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in DeviceManagerToolSet.device at line 187. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt\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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4c70c6aa9c44950d8e96c17084bdc69767051f77e6c158a1665dc2b928bfd0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ReportCommand.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ReportCommand.kt changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in ReportCommandKt.generateSessionReport at line 776. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ReportCommand.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ReportCommand.kt"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f4a12d5fd2420fc377130c0d0b2c77fe474427969b2a00e69b97f98613441f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt: trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in TrailblazeAccessibilityService.awaitTreeStable at line 936. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt\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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2a6e67a2443d18eea7b1e6f3619544ee7ea8bb7cef00a1760f23d1684265b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 116 in run-report-summary-model.buildSummaryModel at line 1652. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1880bd640cefa4701306581316b3dbe55d7ccaaa77b34b8b2e042f726b3ba56"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt: trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in TrailblazeMcpServer.registerToolsLocked at line 2587. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt\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":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":2587}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e9151f3050270a5038156b531f3404f5a26ac38388b3e13e1eee8986b38b82"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailAdapter.kt: trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailAdapter.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in UnifiedTrailAdapter.mergeRecordedClassifier at line 978. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailAdapter.kt\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":"trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailAdapter.kt"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f0476302d8b01b3b5e61b6af43a5759b2747d07ff4eb62dc6b1f1aa01588a4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts: trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in run-report-cli.main at line 928. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f44467dc185bac69dded880f9ae00dfcf4cc121c7fa1118b97b0d703b34bc5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/ui/TrailblazeDesktopApp.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/ui/TrailblazeDesktopApp.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in TrailblazeDesktopApp.handleCliRunRequest at line 203. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/ui/TrailblazeDesktopApp.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/TrailblazeDesktopApp.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a0efe09e94f27e55debc33c0f1d71e5be0cfd4472b8975040e021d8d84f888"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in run-payload.runMeta at line 150. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"27cef000cf9dbb0e8b42f7a8f7bc1960c79c50cf41febf7b9f899adfc67195ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in CliInfrastructureKt.cliTryStartDaemon at line 2561. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":2561}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f730dc8935e229bc0e024dd8da1c99c597a0136e98f8e8ac5c451f272f72fc3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in trailmaps.ComponentTypeScreen at line 90. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5997878ea2c3a4d07b70a7d0b18be0d3aa7882a98c30337164c5b7143ce7e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/IosCompactElementList.kt: trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/IosCompactElementList.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in IosCompactElementList.buildRecursive at line 87. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/IosCompactElementList.kt\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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/IosCompactElementList.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f435d0f8fdb97a6a86b5ca4479b7e4e621cfae6e94398e8caad08962f8eec4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in settings.SettingsScreen at line 63. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb6a5455b64d15ca7cd33a673cf23d1f210463e27b11a661abda0927de92803"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-android/src/main/java/xyz/block/trailblaze/android/AndroidTrailblazeRule.kt: trailblaze-android/src/main/java/xyz/block/trailblaze/android/AndroidTrailblazeRule.kt changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in AndroidTrailblazeRule.runSuspend at line 778. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-android/src/main/java/xyz/block/trailblaze/android/AndroidTrailblazeRule.kt\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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/AndroidTrailblazeRule.kt"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"1874520d1fc5010c735357bf63d98cf5e2d685f0e295328f466405f4928e0d4d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-html.ts: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-html.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in run-report-html.buildMultiReportHtml at line 42. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-html.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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-html.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fe2f3cc6cbc4a7ca8271a866f96c67f9d81a6548a7c4b03bac5cb82bbc1bdd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt: trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in GenerateTestResultsCliCommand.run at line 192. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt\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":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09d2deb09e90aab804749cf8748c63d56f55cc32de1e24260985c10ef9e0964"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt: trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in PlaywrightTrailblazeAgent.executePlaywrightToolOnThread at line 255. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt\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":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa144f55e368a302002d7f096562543e8c1972ca0d38c93e754891a4f83a8dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in perf-extract.buildRawSpans at line 194. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"05030b3f15e22d0642f95762fb66c34841c1123f37495d7bcbb1659a7ad0fcab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in monaco-lsp.mountLsp at line 491. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d95af24f6eb901ae6a7f4c61aeb09700f473ebd50e56595a4a828dbee3f1c7c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in RevylHostDriverDescriptor.runRevylYaml at line 149. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"13efb0a410a890fa7520b508902ba2ec090bc3f62c7fef5bac83104e065afa36"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html: trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in waypoint-graph-template.html.App at line 3195. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8e010d3a83ae8b5b714ad91be652a4904954e3650c4576b336eb7dba78ae86"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeDeviceManager.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeDeviceManager.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in AxeDeviceManager.dispatch at line 390. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeDeviceManager.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeDeviceManager.kt"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee654a5ed64ea824ecb95686eca0edda827f07d782363b95a008c4099a5802ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sdks/typescript/src/context.ts: sdks/typescript/src/context.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in context.fromMeta at line 333. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- sdks/typescript/src/context.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":"sdks/typescript/src/context.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69839fd9ddc1de7767ea09dfa78406ce68fc5815944a420be518e5fab43e995"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts: trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in run-report-events.buildEventStream at line 438. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ca4f00b39d9fa4337a7118988f1eadd070f23e04ea553827b10c51a9798ac0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in HostOnDeviceRpcTrailblazeAgent.executeToolViaRpcUntraced at line 869. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/HostOnDeviceRpcTrailblazeAgent.kt"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc36e66c3d49b4b6b7d5d4a2fa3c2ed0102b66e1488b8db7eb8ac9d6e01eba4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mcp/agent/KoogStrategyGraphHostRunner.kt: trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mcp/agent/KoogStrategyGraphHostRunner.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in KoogStrategyGraphHostRunnerKt.runPromptsWithKoogStrategyGraph at line 70. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mcp/agent/KoogStrategyGraphHostRunner.kt\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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/mcp/agent/KoogStrategyGraphHostRunner.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f57b3df7b79f1a6e295ab4de9cd4aeda54409b643fcc3fa378333c00812307"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 90 in editor.TrailYamlEditor at line 667. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"694f8ad4773377a2cab87b1f0d7c75f54cd554857334f802cef7bb91fb603fc9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-report/src/main/java/xyz/block/trailblaze/report/models/SessionSummary.kt: trailblaze-report/src/main/java/xyz/block/trailblaze/report/models/SessionSummary.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in SessionSummary.fromLogs at line 65. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-report/src/main/java/xyz/block/trailblaze/report/models/SessionSummary.kt\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":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/models/SessionSummary.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5436c77014271ed524b475abd88712a32c0a647b83be5a52c2527d004b54e367"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/handlers/RunYamlRequestHandler.kt: trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/handlers/RunYamlRequestHandler.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in RunYamlRequestHandler.handle at line 192. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/handlers/RunYamlRequestHandler.kt\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":"trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/handlers/RunYamlRequestHandler.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fd37ae512577114297de7f638f37c7d284b4324ba60da352c84804100bbe2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sdks/typescript/src/surveys/runner.ts: sdks/typescript/src/surveys/runner.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in runner.runSurveys at line 131. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- sdks/typescript/src/surveys/runner.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":"sdks/typescript/src/surveys/runner.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44e2ebdf45d9870e10568b38f85f13d033da884cb50422d5cd556a0e0feb3b7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DaemonClient.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DaemonClient.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in DaemonClient.runAsync at line 291. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DaemonClient.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DaemonClient.kt"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee753fa057d4fe7e888847f1c218647feb528bc2c6ef13e985393e919427b9b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CheckCommand.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CheckCommand.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in CheckCommand.runTrailLintPhase at line 1009. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CheckCommand.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CheckCommand.kt"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b452e6ebf1dbd3ad79a44ce3cdd79b33e0243545bc5dd93adaafcb796a64932"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/McpProxy.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/McpProxy.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in McpProxy.forwardRequest at line 700. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/cli/McpProxy.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/McpProxy.kt"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"be33fce0ea754249c01bb62b94f51a286a52639519dea5cc7d187e468b313cd2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/BaseTrailblazeAgent.kt: trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/BaseTrailblazeAgent.kt changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in BaseTrailblazeAgent.dispatchTools at line 230. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/BaseTrailblazeAgent.kt\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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/BaseTrailblazeAgent.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e5a67f7868652a1b9290d5f7245331270f487db55a0b2a56122a909060420c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runcommand.tsx: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runcommand.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in runcommand.buildRunCommand at line 24. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runcommand.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runcommand.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c48b0a19224e1554832395523ba9005201205193f9451d6ed490e4a50008ade"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/HostAndroidDeviceConnectUtils.kt: trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/HostAndroidDeviceConnectUtils.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in HostAndroidDeviceConnectUtils.connectToInstrumentationExclusive at line 433. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/HostAndroidDeviceConnectUtils.kt\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":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/HostAndroidDeviceConnectUtils.kt"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f33106b5315e555715cd39f82916e0690c8c89aa42e9bfc8774d87c24a2791d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in trace-viewer.TraceViewer at line 72. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"69702e14fdad2683e94d24f5f0649cdc915dabe648a41ac626cb960355188bc4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sdks/typescript/src/tool.ts: sdks/typescript/src/tool.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in tool.registerPendingTools at line 465. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- sdks/typescript/src/tool.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":"sdks/typescript/src/tool.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"76121579916f6f8bfd3592948e121244207498823187de3bf124be74120caef7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trace-model.ts: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trace-model.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in run-report-trace-model.buildReportTraceModel at line 140. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trace-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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trace-model.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5756b248c0166092224d187f49a58069730b9f29995e2f31a636bb6bb54f952f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RunRoutes.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RunRoutes.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in RunRoutesKt.maybeMergeIntoUnifiedTrail at line 573. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RunRoutes.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RunRoutes.kt"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"e452d9c26d2a370b7b2b5b900e5cb24188d85ec1b5fa5845709503f4199bf576"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/CaptureSession.kt: trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/CaptureSession.kt changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in CaptureSession.fromOptions at line 266. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/CaptureSession.kt\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":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/CaptureSession.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d2f34940b968434c5accf89e716085c30576dbd5754d38a4026fca545a9e54"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt: trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in AndroidCompactElementList.buildRecursive at line 274. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt\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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"3973403ead442b871397de591b7aa0e753fd1eaf19196d1d1f1aebe6db61ff84"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sdks/typescript/src/surveys/discover.ts: sdks/typescript/src/surveys/discover.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in discover.loadSurveyModules at line 284. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- sdks/typescript/src/surveys/discover.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":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f7346cd030e4d9440fa6bfdd8ca3661661a133b713236dfc047124427ea703"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recordings/UnifiedRecordingWriter.kt: trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recordings/UnifiedRecordingWriter.kt changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in UnifiedRecordingWriter.mergeIntoUnified at line 473. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recordings/UnifiedRecordingWriter.kt\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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recordings/UnifiedRecordingWriter.kt"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"0975d0a6ad0f6c7260afb4cc98e22fbf9e52f0935785968320182b5ad3fae916"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolHost.kt: trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolHost.kt changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in QuickJsToolHost.connect at line 627. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolHost.kt\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":"trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolHost.kt"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"280d9de11fb8188a6cc5850a06277c04428aa114cb65e81f961a2509411a32da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/decision/NextMoveDecisionLlmClient.kt: trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/decision/NextMoveDecisionLlmClient.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in NextMoveDecisionLlmClient.treePath at line 573. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/decision/NextMoveDecisionLlmClient.kt\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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/decision/NextMoveDecisionLlmClient.kt"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfba3eff8a5adb65c323bba0003784ff3142c195832e75d068067627718bc4ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in runconfig-steps.TargetSection at line 99. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1196857a348a66c20fed43a7c7d2116d29c1a542f87e05a4518acc84a9c41653"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in SessionStartCommand.startSession at line 182. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb67a19672a66930469209ced4e4b0af1ff93a15fc66037322d87cef3b68c767"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sdks/typescript/tools/extract-tool-defs.mjs: sdks/typescript/tools/extract-tool-defs.mjs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in extract-tool-defs.extractToolSpec at line 782. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- sdks/typescript/tools/extract-tool-defs.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":"sdks/typescript/tools/extract-tool-defs.mjs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdbe6863f700af9036c4a1fada6fa824b7fc4cc526ba802f29684a4125a5eef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/logcat/CrashEventArtifactWriter.kt: trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/logcat/CrashEventArtifactWriter.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in CrashEventArtifactWriter.detect at line 95. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/logcat/CrashEventArtifactWriter.kt\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":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/logcat/CrashEventArtifactWriter.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc9dcf37d21e1b35319b3b3f1cd0b952362e816a0265b9e6c3fd5c37539e028"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sdks/typescript/src/surveys/cli-main.ts: sdks/typescript/src/surveys/cli-main.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in cli-main.runSurveyCli at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- sdks/typescript/src/surveys/cli-main.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":"sdks/typescript/src/surveys/cli-main.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05908647715ed3cffd2afeed7871913dabd30728b0609d0e551964f25983a1c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-android-gradle/src/main/kotlin/TrailblazeAndroidGradlePlugin.kt: trailblaze-android-gradle/src/main/kotlin/TrailblazeAndroidGradlePlugin.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in GenerateAndroidTrailJUnitShellsTask.generate at line 825. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-android-gradle/src/main/kotlin/TrailblazeAndroidGradlePlugin.kt\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":"trailblaze-android-gradle/src/main/kotlin/TrailblazeAndroidGradlePlugin.kt"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bbdf8609a594be526b0748246842f2f359991af14a213eafeb8559a8954a88"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/H264Tee.kt: trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/H264Tee.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in H264Tee.runReaderLoop at line 257. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/H264Tee.kt\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":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/H264Tee.kt"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d92962f01f4f51cef6d7fc008ed7acacf4e385117d974f926d446f759a1044"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ConfigCommand.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ConfigCommand.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ConfigCommand.showAllConfig at line 103. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ConfigCommand.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ConfigCommand.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37ab803e31ccec9c8dc152e7cb3655148d437cfe0b3acd199b141dd7ae97a14"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt: trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in TrailblazeNodeSelectorResolver.matchesAndroidAccessibilityAgainstCompose at line 524. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt\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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e658a6aae9a60a00b37d39b075bdc08df2bfdde6189cb4b3cfa92204459c36"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/DaemonScriptedToolBundler.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/DaemonScriptedToolBundler.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in DaemonScriptedToolBundler.bundleOneInternal at line 428. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/DaemonScriptedToolBundler.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/DaemonScriptedToolBundler.kt"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcbeef4ca8f85f06d424f8bac2bd66ed3d87d30ea74a28b687f21da113f1d5c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolboxCommand.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolboxCommand.kt changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ToolboxCommand.call at line 124. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolboxCommand.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolboxCommand.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42c7e7a0b3cfbbd57054c42202cfc95934eb716c0162d1098390cae8fdc7b19"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt: trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in TrailblazeNodeSelectorGeneratorHelpersKt.buildTargetMatch at line 263. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt\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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorHelpers.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc9c7107668c1bbd282afcb969818291836fb224802725f8ce62b96e790bc2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sdks/typescript/src/surveys/survey.ts: sdks/typescript/src/surveys/survey.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in survey.survey at line 342. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- sdks/typescript/src/surveys/survey.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":"sdks/typescript/src/surveys/survey.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bedbb527595cacb1f81fda0d258675a9e6d18a6135e26830031e2d308ba349f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in run-report-summary.mountSummary at line 325. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32d345333f06eb9b673bea14cda7660707e2cb474aa720c984cebd327086efe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in run-report-compare-model.timedEventObjectsOf at line 694. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"adebe599d1f1385a2fc81ba8af36fd1f94cf8ac9bdb7d10cd16e3d45cf05f729"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in CliMcpClient.connectReusable at line 1453. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f0d04199303c9eeb86ae97474699787f4a2b0b3a8e5ce20de68c53754c5fee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/TapTrailblazeTool.kt: trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/TapTrailblazeTool.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in TapTrailblazeTool.toExecutableTrailblazeTools at line 44. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/TapTrailblazeTool.kt\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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/TapTrailblazeTool.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fddb37bfdf8c26931d5490946e5e6440af86124a7e0fd7ce9c814ffcd6e2d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-hooks.tsx: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-hooks.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in data-hooks.useSessions at line 191. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-hooks.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-hooks.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fdad063e97c379751f281b61437283af1635f822ce501f9b3f954b143ffda2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/integrations.tsx: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/integrations.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in integrations.IntegrationCard at line 11. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/integrations.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/integrations.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ff6dfb146f4ec3cc727f75ebaf1f63871ccb01592123471a152207490dfce3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CompileCommand.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CompileCommand.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in CompileCommand.call at line 106. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CompileCommand.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CompileCommand.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"301616cfa6b23d9dd2d9047e74a3d0790d7634c51490ac65b4fa2e1d3aa4f86e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/LoopCommand.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/LoopCommand.kt changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in LoopCommand.call at line 607. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/cli/LoopCommand.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/LoopCommand.kt"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a9d02d2c1d450c0171fcc46a098c0c218c2560b5566d9ecaeb6bd4121e2101"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/events/SessionEventsHostFunctions.kt: trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/events/SessionEventsHostFunctions.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in SessionEventsHostFunctions.query at line 102. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/events/SessionEventsHostFunctions.kt\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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/events/SessionEventsHostFunctions.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1228787e6c42a2dca6d40c3367c6b1c3e34ff9ecb3d746e5e87ce94e1da017ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sdks/typescript/src/matcher/resolver.ts: sdks/typescript/src/matcher/resolver.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in resolver.matchesCompose at line 461. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- sdks/typescript/src/matcher/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":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fff98d9aa56d475190dcb4c560a2f3c704f6f2a9b482912a9ff076c57f2fdb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-playback.ts: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-playback.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in run-report-playback.buildPlaybackSchedule at line 79. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-playback.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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-playback.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd5c762ff158193e0d7ac90d2fe4859c607441a0e66df4012198ad8bd4e235f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/utils/McpProgressNotifier.kt: trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/utils/McpProgressNotifier.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in McpProgressNotifier.mapLogToNotification at line 101. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/utils/McpProgressNotifier.kt\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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/utils/McpProgressNotifier.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c1676ca61405055147439705889a02dc0bbb2eb69a743e1ab55dc5968b1b0b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ResolvedTargetReportEmitter.renderAvailabilityMatrix at line 537. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72801ac9ea01b64d6d865ae7aec01fab16aa69c6e61a26451c89affeaf1a1e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sdks/typescript/src/surveys/live.ts: sdks/typescript/src/surveys/live.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in live.runLiveSurvey at line 565. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- sdks/typescript/src/surveys/live.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":"sdks/typescript/src/surveys/live.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1b4619642a01a217cfb554c47977aa4872ef1b7d7ed6661fa83144b49407e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/ui/tabs/sessions/SessionImporter.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/ui/tabs/sessions/SessionImporter.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in SessionImporter.importSessionFromZip at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/ui/tabs/sessions/SessionImporter.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/tabs/sessions/SessionImporter.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4638b1b8ccb81085e12ae63af0a44e7d98e951406b4d0b49f8681125f4ce2c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/GenerateReportEndpoint.kt: trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/GenerateReportEndpoint.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in GenerateReportEndpoint.register at line 117. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/GenerateReportEndpoint.kt\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":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/GenerateReportEndpoint.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6856b8371ebc21f57dcc9990df2ba8afa3941c250f8af62076eb8f92d94480b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailmapUnitTestRunner.kt: trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailmapUnitTestRunner.kt changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in TrailmapUnitTestRunner.run at line 62. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 12:31:18 -05:00\u0027 --until=\u00272026-11-12 12:31:18 -05:00\u0027 --full-history --no-merges -- trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailmapUnitTestRunner.kt\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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailmapUnitTestRunner.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e35db165838dd6474824adae7b75eb94e202c53ceb2a92bd937f659bf8bfd4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use MCP\u0027s native ImageContent type when SDK supports it \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/utils/McpContentBuilder.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e7ee203ff5baee46e136d2e0c183ac2806b4a99bc0312841c21021082e9d6a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement. Compose other tools via ctx.tools.*, read ctx.target, etc. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailmapRoutes.kt"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"547dcb063bffbb0d8538a59f9b0a62ca2f14ced0024749a6e8843b904d815f7d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#3323-followup): post-unwrap JSON Schema validation hook lands here once the"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/client.ts"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"854817fef642ccba908fe77439f7d0586ef09c1fe2c7c359f7148d48aa58b3bb"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060build.gradle.kts\u0060 makes this repository a deployable product (line 73)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build.gradle.kts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade292efacb92fce772490239fede79f77d6199063763774ec51af66e9b8bedc"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060createIOS\u0060 spells \u0060IOS\u0060 where 49 names in the project spell it \u0060Ios\u0060: 49 of 50 names in project trailblaze-host spell the token \u0060Ios\u0060 (49 of 50; unit: names in project trailblaze-host containing \u0060Ios\u0060). Peers: CliConfigHelper.parseIosDriver (trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliConfigHelper.kt:683); DeviceClassifierResolver.probeIosDims (trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DeviceClassifierResolver.kt:580); TrailCommand.captureIosLogs (trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt:593); Companion.resolveIos (trailblaze-host/src/main/java/xyz/block/trailblaze/host/StreamScreenshotMode.kt:49); SessionState.previousIosCoefficient (trailblaze-host/src/main/java/xyz/block/trailblaze/host/animations/SessionAnimationDisabler.kt:65). Rename to \u0060createIos\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/devices/HostIosDriverFactory.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"619505bce4f81d9675f0cee23366d960d8b27ae1176fb0c1f20b16d14828aa50"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getLLMClientForProviderIfAvailable\u0060 spells \u0060LLM\u0060 where 45 names in the project spell it \u0060Llm\u0060: 45 of 46 names in project trailblaze-models spell the token \u0060Llm\u0060 (45 of 46; unit: names in project trailblaze-models containing \u0060Llm\u0060). Peers: AgentMemory.argsForLlmContext (trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/AgentMemory.kt:274); InlineScriptToolConfig.surfaceToLlm (trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/config/AppTargetYamlConfig.kt:234); ProjectDefaults.maxLlmCalls (trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/config/project/TrailblazeProjectConfig.kt:128); TrailmapScriptedToolFile.surfaceToLlm (trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/config/project/TrailmapScriptedToolFile.kt:117); TrailmapScriptedToolEntry.surfaceToLlm (trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/config/project/TrailmapScriptedToolFile.kt:313). Rename to \u0060getLlmClientForProviderIfAvailable\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/llm/providers/TrailblazeDynamicLlmTokenProvider.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"915f13fdaf43085983810388b2417c84d127553aecdbd1b148cb8aff90770931"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060collectIOSElements\u0060 spells \u0060IOS\u0060 where 25 names in the project spell it \u0060Ios\u0060: 25 of 26 names in project trailblaze-models spell the token \u0060Ios\u0060 (25 of 26; unit: names in project trailblaze-models containing \u0060Ios\u0060). Peers: Companion.buildForIos (trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/CompactScreenElements.kt:59); Companion.buildForIosAxe (trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/CompactScreenElements.kt:69); IosIdentityCoalescingKt.effectiveIosResourceId (trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/IosIdentityCoalescing.kt:30); xyz.block.trailblaze.api.TrailblazeNodeMapperIosMaestroKt (trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeMapperIosMaestro.kt:1); TrailblazeNodeMapperIosMaestroKt.toIosMaestroTrailblazeNode (trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeMapperIosMaestro.kt:13). Rename to \u0060collectIosElements\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/ViewHierarchyFilter.kt"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"8364fd9f546f27481b14c77ec2bdfb8c932b762da35d3f76788e50f8466459e1"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060trailblaze-host\u0060 (112025 LoC, 1399 module-visible types across 45 directories) overshoots its size bounds. 10 of 33 build unit(s) (Gradle, Python, npm) overshoot their size bounds, lowering Project Cohesion to 4.2/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e663892d27685c84ebf4cc2f974f1288221e31db09ce49fa0a99b7a8dfd5a92d"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060trailblaze-common\u0060 (59588 LoC, 894 module-visible types across 99 directories) overshoots its size bounds. 10 of 33 build unit(s) (Gradle, Python, npm) overshoot their size bounds, lowering Project Cohesion to 4.2/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dea42698558ee4edab793ccb01223cb644f24946769a2ff49e294a4d4815953"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060trailblaze-report\u0060 (46566 LoC, 321 module-visible types across 10 directories) overshoots its size bounds. 10 of 33 build unit(s) (Gradle, Python, npm) overshoot their size bounds, lowering Project Cohesion to 4.2/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9fb5cd49f4391cd360ecc809b863856ffa7b680a9a1a0c8d41a40f2dd019be"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060trailblaze-models\u0060 (36271 LoC, 902 module-visible types across 62 directories) overshoots its size bounds. 10 of 33 build unit(s) (Gradle, Python, npm) overshoot their size bounds, lowering Project Cohesion to 4.2/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"081e3e064ab37b7e8dbc6b18b853559f070d6bfa6d579517259e5237429b758e"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060sdks/typescript\u0060 (16995 LoC, 588 module-visible types across 7 directories) overshoots its size bounds. 10 of 33 build unit(s) (Gradle, Python, npm) overshoot their size bounds, lowering Project Cohesion to 4.2/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c241dfb8923d8ddba79237f2799b7f0a2e804a6470b800df86650e4095713b3"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060trailblaze-server\u0060 (22582 LoC, 291 module-visible types across 15 directories) overshoots its size bounds. 10 of 33 build unit(s) (Gradle, Python, npm) overshoot their size bounds, lowering Project Cohesion to 4.2/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0149fadb75b1ba8657cda69464fe9d5bb724f6fb413de5b3e3ed7960cf9a5d9"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060trailblaze-android\u0060 (15287 LoC, 197 module-visible types across 12 directories) overshoots its size bounds. 10 of 33 build unit(s) (Gradle, Python, npm) overshoot their size bounds, lowering Project Cohesion to 4.2/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e8b7608039762c335cba18caa1d0a1bfc25ea1e9e0517293117cdc102b55bd"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060trailblaze-playwright\u0060 (13334 LoC, 140 module-visible types across 5 directories) overshoots its size bounds. 10 of 33 build unit(s) (Gradle, Python, npm) overshoot their size bounds, lowering Project Cohesion to 4.2/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9e27b0dad8b8aa3f2726bc92f2b9e34fb3c9bfb35e2db9a267c71a4992bade"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060trailblaze-capture\u0060 (9926 LoC, 146 module-visible types across 5 directories) overshoots its size bounds. 10 of 33 build unit(s) (Gradle, Python, npm) overshoot their size bounds, lowering Project Cohesion to 4.2/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/build.gradle.kts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07af8b9ee7d3d47b7f0ffc8866c73a217a9b35a594c9c9795e55930ca7392685"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060trailblaze-trail-format\u0060 (7554 LoC, 123 module-visible types across 14 directories) overshoots its size bounds. 10 of 33 build unit(s) (Gradle, Python, npm) overshoot their size bounds, lowering Project Cohesion to 4.2/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trail-format/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"767bd78344ba5dfaa4caecd99ce803dfb221a3e391caf9a2d8aef655a0c95b66"}},{"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":"4d3e984b8f1bb08dcfcca7a59de84456539d70bd7c3af78ad35efbc224995bcd"},"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":"d29977d7726cd1ec1670c0bf5284ea8357717179b63993b1054a6c961c3ab0e3"},"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":"bebb3d2a2732555cb596159b4c405e5546a4d0968157b85143b7d77b6c4b244f"},"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":"bde02383f7d8ff5e1874ac5cc53a4168e3dfcab403fec56a8d0ab2eb10628ae9"},"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":"cf135d16183bbe14eec4157364eca1382dbd8d125e6607d2f17339dc6f89169f"},"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":"965f7145ea7a29c5fca82214784f4180b7130fab0ccf038d3c55be74f633ec67"},"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":"82e014668b67f8d24a8cbf2294ac40e488d19259bd113034ff9c12cd420f6682"},"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":"d7797cbad8dc1087e2fbe1cd9b4616b7c3c55799faafad5c791c6d9c1894b4b8"},"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":"c5510af3dbdb567a786bb77194c37c178d9e5f40c1c3f3da2c376ecd9707cd60"},"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":"4211bb6df09eab8094d9a795fa24c3751f64664e9e315a24c1e09b93de4aa714"},"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":"12c7c60cbe6c752e46ecd418effa0ea7d73ef1ac2587a3de45049725501284d5"},"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":"e81f682540e9efc395bee7e7c46f62195720b4f5c8f7923fbb41a481a1309e0a"},"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":"b25db6f7174e442bc3df3218d5fd6a786167a31998e901c999478f49572868b6"},"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":"5490f5af9e6f61270c271ad9fce406494a0536a188f6b867098105dfb8b0620a"},"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":"159f2ce155369ca52be3feef54ac32860bc472f207d429e7a09a79591915e8f9"},"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":"abaf346251f8cf1abdb6f17844ccedb0f9424f6c20ecb5a7c5dc1a687c14f680"},"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":"31a9317f082d0d7d510558bcf10664265df174fbad1e4b25c5bda7ff0455bb20"},"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":"bb19b57061906b8e50a1b2dac0eedfc3cbd49a6f0627b294c085d69a49bde46c"},"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":"bf81d1b5cfae78b21df3827b73db4cf2f7e1fcf3362430ecab2e3288a61d6f59"},"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":"60c9051936be5a65afc21f0dc4b73002951a4770ccbc866db303052878997e38"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11f5b095ab25acacb4714e01305145b26658a8b25c68e48a685c01c3b97e24dc"},"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":"873b3fb1bcab4bc0a27b7e9985620667ccc6dca13fc883703e07d93d68574b5a"},"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":"778d8227f6875ddb4793215204350824ba059fb43bd8c3c6f9c89a577ce71dc5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8516339c4a3d35e2cb0afbd02fb712cc426530e8830ed0fbbf8e09c804b3bbd"},"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":"fa957f8fee46f76f040676ad0e217bd36f646552e56e74f75530e3623ec4d3fd"},"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":"ef7e4df8e68e6328912f6d7bd112a00ad65675807583ba3d7299851dbe141bdd"},"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":"94a29dfadc60f26edec3c857d1efafe5777f6b688f98ac1afe030c5100ab534e"},"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":"ffe914044d6727a15ed70f987b8f30ab027049981e80b9dc3f7499dd4bf4bc5f"},"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":"c1c4e6acbc45f27560dca93d999662a66a9b596d60b915505acb7cabd6ebd858"},"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":"182cf7f0e7746c6be7f14711099dff6f836b51f1e71df76bd205c751d1998954"},"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":"0f6d72d6a8e11c26289798ad6831edf185b4c5af9ea8d63f0b447e11052f7d80"},"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":"3965c134fb6a1957abf689f067cb4de0d75188a692e3d54f46cae24a52ac8af2"},"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":"abb7085dd0dc8521227cb60a724ef93817828e8c07a4cdd7401df9b08688e9a2"},"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":"20dc341f9a9bf7d511f384a143eb18528fe52af5ea836df80a6ee7f77b346fc5"},"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":"b13e96eeb2bcedf9bcaf2f2da8fadc84a526585cd0be44f3831e7ca0957df170"},"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":"1738eb3b1cfd5756bbf2c0563e424f2c465ed14e2362cbd1e4cbb2d05ac455b2"},"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":"859b234a285332d3406ac9af39e0f5bd3ee696cf5798492a9d73066b89b3f790"},"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":"07550f5c5bad48604852193ffe70a3f5d781fbdba867a1760ff8d9c519d2f15d"},"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":"afda28e4d3690869deb8042b2253d82b88a3b162a969bd25d5a8bd54bddb3b40"},"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":"fb3950c5f64dc31d4b50ff9e14ddff50ef39f5699b9f1f2223ad5d436f0144a9"},"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":"fa0cfdc3cb2799ccd5cd8933e691388bebc8c0439600f2e206a3a63016c87af0"},"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":"05baaf764bdcb532bfdeb27d70275dbb6d9339ca0675c1d1daad6b9d79203226"},"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":"4393ff2ffb7c589a9fa2b9a9a18abbe2675cf818ade8ba3cb2a69591d7cdca60"},"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":"5be27975212fee3e48f23a83499485e6599316da12568fbde2c661f774c2add0"},"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":"640bc4eb8ec2edaeefba7490d6b5b128a8f802efbd7d2e1586124481c927eb55"},"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":"45a89c0d4945a28ebf101e5441e6f3da63672739c89b8355348c862bb515d36e"},"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":"72dd8627b445449482af9496cf22312a55e3173997c4b1aa87dc61fb1aaca19b"},"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":"45c21874d2f3b8b4c691bf663881cd595f2e58db98c00ec2e028ef88f97742a4"},"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":"bd7cd43ad7d5835cea700959861881ea1752092aaf44a5c4802ba76300cefa4b"},"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":"d2df5dc1a1289bb7bbfe7583489ba5f35c82627382f461d5d8afa5eaf4a765ba"},"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":"b528008df6e3ddecddb8000ba50ea354ce6a6e2dc99b013c1400fbb4cc6477ee"},"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":"d30a7d0c4254f5fdd91d573f30c72addce84ed2068a9de03eb7c4417de4d4996"},"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":"507ca18c2f68419a796c3841b1ee0aeaead95a4df847c06bcd271267ea930106"},"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":"2e930bceaa769b3a61614e1d77cc2ca1e0cb45e1178638775adf73c3d0abfd98"},"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":"979acfc75c33e97b499bf30290cf8a66c270ed1f8faf4c9c99f84b4ad418d87f"},"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":"86a2fa0404ada39970dd5f73b99af95c46f736b8f889f28440d71981a666fe41"},"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":"ebe653ee760c363579c2ed9a4022359ce3e7ea04a4a996fce6677a39cfcf4a8a"},"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":"31e15292ee7781495cff3025f3779e23aded0d07be93120b45c65e1d6518c389"},"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":"0a25692745ad0ed3ca68036746171ef1bfebcc093c4887320630d8afff98acf8"},"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":"f0ad514a351f9b1dec65846e785d944b989392ee84bdf6788463b5f73817bd46"},"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":"2446c43ac0b95943f0593e2a39c0a4e1a16d1c3f07cda3672864d17924a59896"},"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":"831428a3d4fc7f193e7215fc424440558aa0434c13a81b8d5cbc169d3de32ae8"},"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":"9864c121d9665762bbb0caca3700617b93a75c158b7d4effed5290f9928da544"},"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":"50bf4f10bd3b456d67e6d4ec47216c2282747f7cf066dc06f2aef30d8dbccc9f"},"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":"e661daede500c65afc1d09aafce1962529b2c8388fc48c77e900d0ff1c7d9224"},"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":"f1447821d390386a9706722a4fff3646fa49213c69c4da5bfe98b34b39a793d0"},"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":"f408cc673349e675cce50fd5433d980f1abbed7ef60f263fcc9f63899918f006"},"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":"877ddf83b607f1d73bd572dbf6664dfb96aa1bcfe8d965a0c3e8f4792e956dac"},"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":"b7042d48a33a93b7a0668a5dfedfc0e13ef47dcf8049010950718d614578085d"},"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":"a57ca9be59940b2f430e9cae5a611a88d98df1426d1f7fe2011b60eb335fb80e"},"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":"862ac6595381b63ae77989642ea00fb9c5c521625400d69812657df07247a868"},"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":"47ca6777cfbab2bc608c2cd3496aed7f24fdc7df48d0466b1908cba50ca1c1c0"},"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":"5cfaa8d5245bd237e266bd5a72501cd8d50db3cdbc4339e0af761e823b893fc3"},"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":"c7d6573aa7312ba5b0f057f651a8182f39382a237b6510041765fa3994b8aeb0"},"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":"615549abecf0f808ebf8323895913cb1622c990f80a00a44938833345c8d4ee2"},"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":"6c96894dec7096bac4dd6b211ccb16962add3a9da563fa3e6dc8711044c58545"},"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":"261846b595068e41cee3b8df3701ff00f1139bff1bef705ce5a6da029e8b630d"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f537bed9feb2e8a05f84b76e67eabd150e55275aff9e226367d38108221a7f93"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71001b89649bcbac760f920b56282cac51059571c00396b89b1e05fb0f9e7cfc"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6d3b2f6e58c046262127190d483dd4d06e88c2ab4d51356e7e3d94aa3858746"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35a6edad9822c090c240d42fefa1294641493a1170b090c26022ca4fcb1761ec"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0f1f08e294269debfea131a8722305d4d5c2b630936a305119ee47a3d0cbc78"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ded35cbf03dfefd5f544e1a45a87885fe735b95c6b6f9384a63564e3e49930a"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d52b25b61e24758ff54ce26af0f71fac21359c1a4972062c1243a0ed7fe4558c"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34e87b83fcf8211a857bbba83369cc0ddcb2249690ccb6de16bfeda342632126"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f77b60fc9f801f524dc73eb105205f6f9459c7e3023baca9623375f0f73f0d8"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"856fe221ead33855a04a42995cb74f246b7fe89b402127f08dcd64d017ea4b6b"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"9394612cc7d845ce80f6fc6f88c5f3091ebc8b35eb7e72118cfc4d93d2c06e1d"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a320a3043415de6a843dff343fc3dab34f7c789775adbb9b4093b0f29c4ce949"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b3f0ef34076289348a0f6e2eadcebca0576adabcb09d436f570f6a181dc2d62"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a148e948a2376ab70888e01065608d898bd453c66fad40426ae7fa3c50665a44"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2629de676e4f6d2a44c59f85d2ae3b4d575e412ebdc2f67cc9b20461af4c7d68"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2222548cd871a018da6b99e477fb22b0fe5fee246bc9bc59467ae8e36ba11561"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"60e25a0c711217feabdde8ad0564843a0fa7270f092ee10781721a7157fa1d96"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9dd4f97edd770617e54afbada08d4264d760a7e97532ec1a5703c9c37eeb6eb9"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"557d6b914be003681c4c57f3285f637282f587fde21f119aa7f84c4f3e581380"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"84f61bfa6ee84a18c9fa97539c6bd64c1a53a99ad5788bb5756c2332d61c020b"},"taxa":[{"id":"CWE-290","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8952a2c11f8beaf0358a3f0a8586fa47d655df18304571a0e49ad3f6d70f649d"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c9c00cded34d11b36e07b8ba5722308cad82f1f809f922620c1180e5a9a6099"},"properties":{"dependency":{"package":"body-parser","version":"2.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"2.4.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b05c5fe8d477c4f1b46ec2e642953f501984639f766a9546044eba865a232fe6"},"properties":{"dependency":{"package":"body-parser","version":"2.3.0","advisory":"[CVE redacted]","severity":"high","fixedVersion":"2.4.0","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78bd22c51e1a0205fb89b532caa88933e366334af69599672f0288b1777618a0"},"properties":{"dependency":{"package":"glob","version":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"14.0.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae6731ecf66bb9ecc3e0724b85395bde42b6602546ba67b9a92a6fb3de20cbf0"},"properties":{"dependency":{"package":"hono","version":"4.13.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"4.13.16","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d0969f005b9970cd3ad5034bf4c78f072ecd5200b85d78b0b3f528343777df3"},"properties":{"dependency":{"package":"qs","version":"6.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"6.16.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89af551a1b7207369fee95c16dd320ad0e32968d5772c70d8c47ea564198179f"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"933208b8633e8b3ac3e3a7a17ddc4355c2325573c2d4a0d719472faf2c2852fa"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.17","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.19.18","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d036e6366a032bdf5e30288cddcc93d107c124cf6b77555aa59dbf3e5aad3ce"},"properties":{"dependency":{"package":"ip-address","version":"10.7.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"10.7.4","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c15877f9523316f940f1eda2bf9dcb6bfe78c6acc39a6ec83a6bb8a6e94d2a3d"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"3.1.9","relation":"direct","declaredRange":"3.1.8","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8de7886e122146a2ff9074906ba7d1aef038dd3f23c86fc64a60cc270df5fb52"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.8","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]"],"severity":"medium","fixedVersion":"3.1.9","relation":"direct","declaredRange":"3.1.8","reachability":{"kind":"unknown"}}},"taxa":[{"id":"CWE-20","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-436","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a746ef202186f137e56972e33ca3947d191cbfec5d47d4d5f3435bd04e752408"},"properties":{"dependency":{"package":"qs","version":"6.16.0","advisory":"[CVE redacted]","severity":"medium","fixedVersion":"6.16.1","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1617eccc8e68107c739b8437229b7d5a8f781f68222f5ac58d6e6bed65676f6"},"properties":{"dependency":{"package":"hono","version":"4.13.9","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]"],"severity":"medium","fixedVersion":"4.13.11","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-174","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d82ca473b57432508cdd6263c13a466ad84c4c67a5b7ffd41909d95651f52023"},"properties":{"dependency":{"package":"ip-address","version":"10.7.2","advisory":"[CVE redacted]","severity":"medium","fixedVersion":"10.7.4","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"650b1de0a9b9cc88027eae491569c039384057f7df4cb7d0b9fb2663eaf56aa3"},"properties":{"dependency":{"package":"@hono/node-server","version":"1.19.17","advisory":"[CVE redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"2.1.3","relation":"transitive","reachability":{"kind":"not-imported"}}},"taxa":[{"id":"CWE-174","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4407d3ffc93f57b96f6e5c9d188750fb73a3b82def845658011ce4de3c1dd945"},"taxa":[{"id":"CICD-SEC-6","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":"d0bf11882cc6174e4e7805487bcdb89ea01e1589bc301d2016303946b99295f9"},"taxa":[{"id":"CICD-SEC-6","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":"e4ab85170ce6129bb2ceab094725cda2d39e6fccdfe86b27c2664fc44da0e5dc"},"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":"54fc29f315242493bf657ae4ac8fcb490721ca3226c1b88a0b8bd3e2e7da9d38"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6f2521e16e0ee44297376d30a352d5e046bb4eb91d0afcbead0a7c2b8bdd0c98"},"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":"ab73d050a646dc014d7ed70cf5f56e27e447f1d7bea6ec4ca62954fe0e6f0cb1"},"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":"334b41a6a23902ee3669b24cea8a5a1b0b173bdd34fcba3444c6d28a4c6478a3"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/devices/index.html"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f91ba3fb28d1bef1d1926e9630d63d90ba377f17010a7ef2fd8a816ce6b6e1e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71231f385bdd3ecd07f288450de81e6ce14f1a19aaa7a000d8c9fbe898a0a7b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8566b78fabe388189e27cc1b8b79dab2acae55aaee7ba9b2b44159dd02be92"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6621f67d7a482423487c4165fae1fff4275d673ae3216e634a461192c0f6f9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e368a12845883754366d5ebc05fad8fce93ada9b4e217b52964e67f8b7ffbc5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bed36636c988ab0ff3510363b6aa0caa81331e7345a3eb58f27e923a5cbda6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"c132c806fa6f4e380c8d9db674a39a7ee6592e8e9080cbc985de10ce341e452b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8543c45ea56c7d2cf40d2008411c405e30957d68c42ff7db09086d4b4c33d8b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39a06afe5bb4f91104acdcfd63c70b3b514838cbcb046ab5406443b34316563"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"315e4bcda41e23d64702f3d93e2037cff0e7337e11b9f46219902af55ded82ba"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f3c2257581bb683758cfcb09346d3b63287b1f03deca7d5d20561cd3cecd72"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82fbbb6dcadf0b32f56d569d3a4f6a0b4694df8e61fbaba767aca438164e610"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc622830c8495ea67deaf9304ab607e5737953b781cbbf8390b6a4686b75daa"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae4e67f137fa53a16cc50bf258fbed210865f8304ca73d1a1c75d913bc0b1cb"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeeb48a1d8021acff989a9f4cefcf809aabe61bf7187691a9f955e25356f8563"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"2372af2fa13ba6db453e74373d72717832e6bd4b281d13aa77b3c77dd4fb3170"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"467a24219e5c6c9d6e2324be35b1c75600b2e6d013f76d9b120a55b58eeb6b62"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"3389208339f8b4bb437a73d94e25cbfb97d281e022e3ba09652df3182cff25b1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4b108de115d29334eb4a043d71876997e8164d30209a2a4a68b56393f2c874"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41fe6a8f80941219b473e0ad10d18a959d0ab7313fd26055df9c2a80ce9a103"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d89bc22aed7c90eb5153d2bada6f0b64f62d2e2e3059ee2a8df7d2ce6138776"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"32881db18a8396fb985a2990749f353426259c7430d857cb4855d94006a098f1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1956}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0c9fa2f6c4d363a795c5db465fb53181f2ea9cfe8af94fb0a4d813f1efce72"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e9c00a67a4fac324816c84d0c6595c3bf838bfc4508a5b12c79d5a91dcba95"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f5f679218ee3a36a14627e39f3cb49384722ef921e276ec62f55c7793ff687"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3432756e9d18745b842751a81d94a1dacd990490677ea9bc57159574a18378"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cb32e89aefaa2ea86e602cf31818253d14a71f81fc781cc8d231c86a794a9e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2344}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf328184af51376dee2490c668a03780bfa059cbe0bd1840f8735818a14bb251"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b7486350118bb762508cc720036d4441f2eb2a09df3acdc7f9582e2121cc73"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e571d49339b604034dc2efc7645f7642cb2677f74a2d04c079dce439a3b6dce9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2443}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daac2911c676d8096267dadac1e1408ecaea3c0320c5b3b4f74e7b071b4b712"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e43b1d96315a43fe41549496f2c37cd87cdc32ab637f348721cb33f17133979"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9e03366812a5eecb6195b67f58dfaf14e309e332c932b91b66e370c873951c"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e49e1f4548987737e021fb83708b6999bb347b7e4900d1be8117829786a7cc3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"922377376996af08d8eda4268825564e040ca5b5351ed20bee6fc920f1a11ded"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"308567f9f09b82834e062536d5c585ecd4ea0b8ef2cebe23437783e5b97de5c7"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"170072090ea2d4af9b13d200c93ac5d72c305ab944467b8056e539e8fba2bc5e"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"8218d8bf8945a2cf82d79bb3e5a2885948b47b070d617c70156829d7bd42b878"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61e387edaf33e2d7f00ca08fd82a8055d41d579ba65e0c736968b41b4d10a28"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"1153ca5250415d753ac1dbb571d09843c89ea808ef0532cbfc9ff8fd5dce5c77"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c111a313cfe7a7acd37b284ab3d69822fbccb4474afa7e6497b7e91ef840ee"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16ca7e9ac74793abd7d3bbdfeb3a43b545068d015d168864c9d3fa8fe81fed3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54c2bc2ba419eb64142deaa50a8a2d9667e502e8d4c82c657b3a20f4ad984eb"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"163d160947fc2c93d22e963e8d3ba2d3519f03ed99136552a0746adcbfce7d10"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e854c12ac715184391b9c4cb6e6174f0a1da659c900cf20d72bd04f706484e5"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"665560d1ce171c2fbcba5a10332b1b47b22d6459864cbda34ce7c0b24e447350"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"ededbb40aad9db920551f840ba619a2a92a43f2735af0965683e7ab54f662a38"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9920ae9e95c4fa850e16acb4680f0f10fd450a34b9ea05059761e0d2c1d8b2"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21da2511a4d7ae432eb68e26a2c03aba9df6be513f8e11df04cc0bfe2d20ee3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ad2331726ca033a9bcf112468b4d98523c3b1adc1d2de0195aaa27952e7eda"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id at this call site, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id, even one the component sets on what it renders, names nothing until a label points at it) \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"3915a327d43f9d70259d7238ab9c46bdccc94bf32453c251f1c0fc08ed01983b"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9cc9b493f46800ae0c801317bd49fee3f1dfc9cfab73522e0e572a6a34f5b3c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"366da7f57e3b9bf1e5ea3fb92a310e16f565da1b7d9d538c2ff49a54dad63b5e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9073023737b870f8c340f6ef9e09718d586ec1445219582c27d40cc3a60c5e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/zip-report.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabc9f9fd2b8d90fa39a202cce85da76c3bb2752d81286c21ab6b986a0368dc6"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"df90882cd882edc49969af9db6cbc55fb2b22d5cbe7bde977b7fb401f1bc5fbb"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c16d0a754a872348151289ef4fd396128b041cf7c0b1c9dada2bdb5b55e5273"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3488cb55108df4d7ffb6a628a3bd122d942bb43e76944b0fa42722016be6c33"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"86073aeb88f66aeb1b16014ac1801d46d59a36cdb73153199e95a1a9a05aa003"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"6145612ac101ada272a2f79b373c75a273f175ae79e20b381f513e7292374500"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ace05e0420bc817f2fae0d4d236cb897659b47ff216ac87431ecf92eb6360a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbe92c69755bcb32586fb7ba57eddd97ad25e4ca99548fe44f588f04d6e2353"}},{"ruleId":"AC2","level":"error","message":{"text":"Custom control with no accessible name on \u003Cdiv\u003E: This \u003Cdiv\u003E carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to \u003Cbutton type=\u0022button\u0022\u003E \u2014 the right fix for its keyboard operability \u2014 does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8888}}}],"partialFingerprints":{"codehealthFindingId/v1":"e072848949ed3a423ffe8c379bc0bf495ed74157b978f8ca2f2ea3e8be8016e7"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bfe7e79ffdfb00fb55dd4095b707d1fef02079327899db9d33f795a69f2499"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff81e1b9fd81d889696d9ab0ecfa6d675fcb6073ee8c93dce60e9b2c4694286d"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .tb-pick with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabIndex={0} and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a35e1af723067fd3cf2c824bada3bb7f74ad15714e6559f425e0482130ee652"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea1a74dc3878567d9ae0194436b379eb4389aa3df5b7f1abe36a6ad41ddae9e"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7de44c7cd206af8a288ae2778e15d33a35514e41c039894a9b97ec9b93ff376"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"761e207e7a14f2124f84553d85c8879ca7250198435eef7a01731b340c395448"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"22abea790d1c182b7de54dbee7a8c9f201216338c2844edfa369b4ea04538401"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"08debd968441fb7d37ee600eab26e34a5f70b8ef506ae8a6dbe3f780dc4c0f3e"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab7f7579825331c0abc39ca479c3c424e0b7590296d42a983e0e27d58805b41"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb865fde19a50e6fd7747d6ee387c310a0a64213217c4014ac058d9c8458640"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"addcd2d447f4e05da5f784c74f3d104bc389a614b852724d48862ea709199f04"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb2e429d790ce77c921afebaeb820baaf9555bcbd59c586b255989f22586fb2"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"9037f90eb8e1dc66ad19489c5822bc476bd5fd258baae30693d3c5285f045162"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"237fe320e41701d19deeba1b951ede44a48d28aca771c6fa9012224ce3ef5474"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05ce4ae4bc27b1232dffde88df4bdd01d4dc9c26537afbed33dbdf08871448b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cimg\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb19427f11967877ebb377bf24aff2679f820415b9e3f01e8c15707f33b2e5a5"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2208}}}],"partialFingerprints":{"codehealthFindingId/v1":"584f15a7357dbf66d1a1d56323ba652e469bdfc16c0cab7f360a7522dbad3740"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"f088befeadedb7a5f38d47deae6fde3cde7a8b585f44064751cfcd2bea6b5654"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbdaf71e1a68a8d5ebc050187537a110cc892045b8bba0c47a1cc6110b5545a"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8323fee8384dd853248e3f40a8819d9d97ecf9a61b1c04d57aadacb5044057"}},{"ruleId":"AC4","level":"error","message":{"text":"Focusable \u003Cspan\u003E isn\u0027t keyboard-operable: This \u003Cspan\u003E carries tabIndex={0}, so it is in the tab order and a keyboard user will land on it \u2014 but its behaviour is bound to the pointer only, with no key handler. A tabindex makes an element focusable, not operable: Enter and Space fire a click on a native \u003Cbutton\u003E or \u003Ca href\u003E and nowhere else, so this can be focused and never activated. Use a \u003Cbutton\u003E, or handle Enter/Space in a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc0c0ae22f13a45f18acaf65df9e1fd3bdf6687ff0bf812a56a0703feca4cbf"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cf62898bd215c0e991ebea6573efe76274dcdfee40e8052da32b2d0c520e7f"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf4706e815c744880e17754db447ffcfa09b0df2cfa124d735e339ab43b4f3f"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f69bedb78de92b9ce847cf29664a66ed351b58b338e14e1401a0dca7c24f69"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5234b8d2b8dbd73cc0dfe4856b1086f51cfe69a039a6c8db263e582bee439fb"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71c4df2812700379700b95357a849c8cfcd88440bf0ca51b03c1e6f07b24459"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cspan\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"895cc4415651a114281ff583aed8760917532f13c1cbe0ba30e5c1a3c19c4533"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cspan\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"869dfa898bb8cfbbda7e2bb9ef6b09019a065b72fbfe141b9f878a678c6f40ef"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cspan\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e914b0673c5318d0c9047e8006973157d14af6a7d5e30b065132fc71fe0bd5b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aafe2ca96f0e0689caec34338a84531e321d91d31db93e74df38372184eaf51"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"0646324b440905774852edba5cbd2c837db94cade89ea50052777bd2bf762e44"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"14550fc847bc780f0828e2bbb8ee01d3a162f141e88e285e2e3889d572c8e634"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cspan\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd61434b6a2318e5f080a6245cce0a6b238a3b4f04b9a673f593f98c1295a80c"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cspan\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"214767fd81fdc63c9de764131276b0af47b82b01db8136d0292ecefd2affb17e"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ad74621559d3adff9d2f14b1cee342d7cce8939a34fdc160f8f7e77f24171a"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04a083b1ef6f93428b741e7109af4d69a53a07b63068fa5167867628efe89f9"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cspan\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"6746357982338fc882999d927f6cb753f793ec9baa21f40d7488af7f804afd94"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2011581b142b9e7ec58199d24004a93ca338bd77490b7fe1506d7a8443dbd2"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cspan\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"535dde7ba428f75c1316d6e7c2fae5ab1e9d3b882922f32187869ad3a6d922be"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cspan\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f692ec33fcfb89d0552a6ab5ed80d22ed9678e748f003b18a2c438b58e8ed5"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cspan\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b354f5823d8d80c8c6461ef416bd0284211760131bc8c118e1ade89c72b3f2f0"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cspan\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b00179691883e07751af201a4f886271fca245bd156a0d7c219fb33ab7a375"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"65624091523c4a302b305c535bd56439eb3881d7aecddb8aa0049ffa3f544f5b"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"6280ff3939e4a83c28f8deb69804521a08a9ddd022affbf65fe27c74f93ef5b2"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b474e02f4fd7294ebbbe57a22cc490d1c326862d4a7cad86c6b76ea963821a"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a7dfbca248faac7981750080b106bc466dd0b18ddf5ad3f1028bc2ee419f75"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98c27ea821c6f9b2718512778745f53f242f5aa0919d3e8cd3c086edb701aa8"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a50357c9976fc912d498217877b4f5aeb228bcab17aaae0ea840c50f54e68f9"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16914c73acf58e0cbe5c6ea43d08c1de08dff3a3b87fc36c7d26bb0cd3982f3"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d0e583f5af92ab8b173bcf14ec4c3143f129d4d058fbcd11f1e54a46462581"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa50a8ecabc0dfbf5983a162162c6ef531668f1763852ad007ae89feddf55c1"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cfd4109b1e50d862e06d4d42196253a4e7629e307f8ceb6621b9bf47702bda"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable role=\u0022button\u0022 that no keyboard user can reach: This \u003Cdiv\u003E announces itself as a role=\u0022button\u0022 and binds a click, but nothing can put focus on it: no tabIndex={0} in any spelling, no key handler, and nothing in this file moves focus or sets aria-activedescendant. The role tells assistive tech what the control IS; it does not make the control reachable, so a keyboard user cannot operate it at all (WCAG 2.1.1). Give it tabIndex={0}=\u00220\u0022 and an Enter/Space key handler, or make it a native \u003Cbutton\u003E. If a parent widget owns the keyboard model, that parent must move focus onto the active role=\u0022button\u0022 or point aria-activedescendant at it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb762731a608933a7a3c9eaff330db73fc6fed753b2ca46a597c792124dc2c49"}},{"ruleId":"AC4","level":"error","message":{"text":"Hover-only interaction on \u003Cdiv\u003E: This \u003Cdiv\u003E binds mouse-enter and mouse-leave and nothing else \u2014 no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}=\u00220\u0022 so the element can receive that focus."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b03c2306b9eb1a82cebeeb5e88e8563b4f950bb3ed3d717ae4fb83a79b47c5"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"844ab5bbf6da902a86641e7f0ac4a2c089c7b54f42dc42c417708661270a95f0"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"4459a93e299657cb1edbcff7056a7f1d90bdd00ecd409c067452aa9e94503348"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd110ec661ec4743bd66fec8c20b4dfc60c7696757e48f9cd513a5c6e2634082"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dec1239542fa69083e8bae5e5401affd12d878a55a375a25dd11a99afbdbdd"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa442f1383dce2e196cda17c9074a506fd0264a83b48332226248abd84ded54"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95777b44e40a10aefac9f7f8cb2211ac7d7473ce830fd5dfcb73406fe804dde"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"8954f553b3a6416d251dd908f6dfd1dcde74620a4af6a95188fd09cbc6f80ecf"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7dac6f35a00a15f7a7ed027d0c1eb86f12d22681fd60cd4ecdbb37cb8c3aed"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"915af2ea2f714def99971657befc1571159c797f9fa19d906f20dda3295de211"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"70acb5621d5dcfd02a15ab9a13f49cd4ae779aae0a8f0836b2e4e778ecaeca2e"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a9acb0449c810ac9abf62b1834b2ac804dc699c38907148e9a8e00c3352dfd"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0}."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"c252d85970269c29035d86212608481ba271ffcf12d39a6a7e11708bae8ed775"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e64e439e7e00419119e54d7d71361f006ef824af14903f6a6e34dbcbcdc8f84"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8584}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d2eb4e1c350804859bd5ccb4d92b3c81600c00efb23ca3f6976f7d8bad54c1"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element with no role and no tabindex: even where another element\u0027s key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8888}}}],"partialFingerprints":{"codehealthFindingId/v1":"decc66a8ad6c15d0cc21dac547daf89b477ebaeb994af4d257c637760b1a7c9e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.tool-runner summary::before\u0060 moves (\u0060transition: transform .12s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/devices/index.html"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ee508c141ac1cf71c14e8a56ada6edbefa489d26e8b1ac28e28ac031aef450"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.agentic-pill .agentic-icon\u0060 moves (\u0060animation: pulse 2.4s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e9376d9e897fc3bd1d2496b9f17c010febff58e17fdb3f059885e44caa717e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.matcher-entry summary::before\u0060 moves (\u0060transition: transform 0.12s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedab6e98bee3130574b0024b63ae8acb57fc42fdbfdc3a95239e713d28a724d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.waypoint-node\u0060 moves (\u0060transition: border-color 0.12s, box-shadow 0.12s, transform 0.12s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f282596ca8fb4105000f51c6011dd984a43b0b69e173cfb4355374aaeb54c6d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.edge-label\u0060 moves (\u0060transition: background 0.12s, color 0.12s, transform 0.12s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"400e9fd661fdae5a078f0d2a062d0346b0c08b37adecd8087c041fc6813e039f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.subway-flow .react-flow__node[class*=\u0022subway-depth-\u0022] .waypoint-node\u0060 moves (\u0060transition: width 0.35s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64388281ac5db8129fc091e1b0374287a0415e4e2fe1e8ddb18efa33d9a99a8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.subway-flow .react-flow__node\u0060 moves (\u0060transition: transform 0.6s cubic-bezier(0.34, 1.35, 0.64, 1),\n        opacity 0.3s ease-out,\n        filter 0.3s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cf3b465827f40c2613dd67b0ff2606057b323f21fb560b671a7e70beb699a7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.subway-trailhead-pill\u0060 moves (\u0060transition: transform 0.12s, box-shadow 0.12s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b18dcb0841377103e52db985e04401e57494dfcfd24bcf9a4ef7abe089f763"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.screen-card\u0060 moves (\u0060transition: transform 0.12s, border-color 0.12s, box-shadow 0.12s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ed9d882ea03926d9cc9dae124f1d7fb2c6ade3f9906dd555a493945facff06"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.8:1): \u0060.waypoint-no-screenshot\u0060 sets color: #8b94a6 on background-color: #f4f6fa \u2014 2.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"726a9bfad0e048b5e459772985703d1eeaecb64e3f28ae1bb8ac1475cde33d29"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.8:1): \u0060.screen-card .screen-no-thumb\u0060 sets color: #8b94a6 on background-color: #f4f6fa \u2014 2.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/graph/waypoint-graph-template.html"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a141be7eb4c51cd52d10aad2395a752e0a1050c27dd1fbb0f4ba531d8d354f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9598311e9d90f2489f5a425f421be77b1ab30525a0b04b0e66f461485d48581"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"d682964e254cd8fbe11895bc1b5d9512aebb064f281ab9e58dbb2ffcfe215a98"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e50b3453c367af801fc38e4e58c7af6468be2ccb666cc52d63da13a06d657ef"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce7135fe3d795e419e668e87d38121903f60ecf7c44867b5131544582835a3b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its inline style sets \u0060transition: transform .15s var(--ease-out-soft)\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f04e3975ecb9784c5808a304969737770f38cd8a5effe2da4811628a95518a7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffb55a1e200c6e2fe362b140190ebe8e6a2d0d4df0bb8865eff627379fcbb26"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"216e4aed18c99fa75da2f9de4fa844bd008259fcdbe9e558e660473b97f2a11e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060transition: max-height .28s var(--ease-out-soft), opacity .2s var(--ease-out-soft)\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb37787de17509ab14f4581c1f10b1fbf95b981592513afd374111dd6da1a35"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2001bf2a628a5b42d27cbb8d97250f6cae9d8c74d3a611c173937ca98711c44"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d69036397e2a5e07440d7928e09498cdaee3039adac683a9a1a2e6b8a3c5f4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c01db999d14b61ed5352ab5361745f17c68f9cc28959f5e731bd8c52539193"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1956}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f559d3457d81c0f6addbfb39f385f4f98daa004ea2d1a05c9acf05fba92ca82"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1417403b1bdbd1f645a60d3e60df33dea9d8ee8eaee3e3c924238aa7c3037d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20f5d48f145b5898b4f7ebd3c2d8a1e49334a986f38c33cbe837d57c7fa1efb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1764ecbe79d3d9c6f3f586a2468e7f4beca9815c2b0a4f1d7d89c30731407ae"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Ctextarea\u003E moves \u2014 its inline style sets \u0060transition: min-height .25s var(--ease-out-soft)\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2d36bb0d8ad9f8fab7888cad35a71c99730baa976ec3362a6c8384cf0a4310"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060transition: max-height .25s var(--ease-out-soft), opacity .2s var(--ease-out-soft)\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3561a14b1a3d6b4cceb2d138cd0639d5083d9933277048da3cfa4ca410839f45"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbc6242039da053d7e425b5769ec8c138201ee8a8d97c6a76d27c56f352cac0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2383}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab88b653f2c3da70082f8a052e269663544800a8d9de4ed2e7a502229463eb9e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2443}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a47dfcdec58582c30666c5ec7db5e4b28eee798ac135e382e22a411626d06e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"6233c34e6c05410c3dafd94d3c1f2bdb780da2e9af788a06e283fd45c2ecc6a5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060transition: width .2s var(--ease-out-soft), flex-basis .2s var(--ease-out-soft)\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbb15c6eef0e1ffe61ebd91c3efe6f06f0a358949d0a1bfa12e2e7bd7569137"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c997d9c5daed55b8c3ada000dcfd3bde4006c5c74512e0c4547509f15bc6c4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"55544146f7768c8d59492ac433e8a1a5bbe94321260a57be9671c6057d003d4e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"750d886170849eabe322a598d8bfa59552a14ebd7a228951e58626674856af74"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060transition: opacity .2s ease, transform .2s ease\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c148f04a10025dc741f8e5205e44964bec599f94cac0012eb4d3e9114e6c880"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd87bbbe80efea3bb52c0ccea08505ee86cd17880f9c974641428bf3a77b60a4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"a950301ab27685544397a823b4985befc63e4199284e5be50ba515aaa21ad907"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its inline style sets \u0060transition: transform .15s var(--ease-out-soft)\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e408a423baf5a159ae2a3004221949f2b92198c7489400313033113f5eba3f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f80695080e784269e0196bb1fdffd51f45c2fc07c0ed8fe11db121cdae2931f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cdiv\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9387607824376856410ac9ac65e496b499c7921bc158bf3dec40f3cc9893361"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its inline style sets \u0060transition: transform .15s var(--ease-out-soft)\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce411bb6af39b962897f7f645450a4548fbbf7acf4d7a70f8e9639bf10500189"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7471f9301aded40ebc7edc525118beb76561a8acc547775c54f6288e24753c8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe6349b3f7270200c81fdda739a9871962aa4e6e63de10494b50ac63b4f9321"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/zip-report.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b268b6a153587a793220049ecbb3e46a731b4c0bc0a0a4ec3fd735d22c48568e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b13b0ed4e18100cd45b9ee7359a0e83e89be17fb513295f902050cdcad9ff2e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a907363c41356177e6c6b38a8201f2080215ff10786d03243b3447360bf340a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and outline:none/0 in its inline style removes the focus ring with no chance of a :focus replacement (an inline style outranks every stylesheet rule). Keep a visible focus indicator."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"46414f02b8183164ab7be3d549873da9bd817de084e7825d91b89a47582fed42"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.tb-input input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/app.css"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"4629218d03e137485b1226ffcd082f6c9f936a2c8eba449338b14da6a00c54b9"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.tb-pick-input:focus-visible ~ .tb-pick-box\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/app.css"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb4bcddf90410f1e15ca1dd9b8c4975b9dd3b222f996328d9063c1651adb2ed"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060input:not([type=\u0022checkbox\u0022]):not([type=\u0022radio\u0022])\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/extension-workspace.css"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd92fbea17e13f556c1c1fd69beb2a58ceaff480053e7c588966f833a48b4c75"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.tb-rail\u0060 moves (\u0060transition: width .18s var(--ease-out-soft)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/app.css"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f44cff43ccb369c0efc77a14f1e47fe14b8acf302de1d8f2726a9733c8d8742"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.tb-switch::after\u0060 moves (\u0060transition: transform .15s var(--ease-out-soft)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/app.css"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"28404da50624ab17dadf6fd712d4ae17785c790ec9879dc16cb79cbcb71e46ef"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.tb-spin\u0060 moves (\u0060animation: tbSpin .8s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/app.css"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec76a8ba426f43370e0acfa941c3f7498dd373416311dfd9c3385a9aeb174886"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.tb-device-touch\u0060 moves (\u0060animation: tb-device-touch .45s ease-out forwards\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/app.css"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"3224759805adec038e1e8df0913a82e78fcd156c4923c23238836098e1fd877d"}},{"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":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060xyz.block.trailblaze.host\u0060 is marked as implementation by its own namespace, folder or name: \u0060MaestroHostRunnerImpl\u0060 (trailblaze-host/src/main/java/xyz/block/trailblaze/host/MaestroHostRunnerImpl.kt:54, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/MaestroHostRunnerImpl.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6703722d4e404c2e98c9841ac11837835204e05068a5a06a588d3ed70585b65e"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060xyz.block.trailblaze.mcp\u0060 is marked as implementation by its own namespace, folder or name: \u0060TrailblazeMcpBridgeImpl\u0060 (trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt:126, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/mcp/TrailblazeMcpBridgeImpl.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b804f054e6869aa46538d6d0c06cd0ad83532a561d66e62d462862a92c4fc1be"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060xyz.block.trailblaze.mcp.newtools\u0060 is marked as implementation by its own namespace, folder or name: \u0060TrailExecutorImpl\u0060 (trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailExecutor.kt:157, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailExecutor.kt"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c920bae6012b681cca8310d4e5cdf5b750c7599c41d28af0868eed7aa83bc0cc"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 9/15 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060docs/generator\u0060, \u0060trailblaze-android-ondevice-mcp\u0060, \u0060trailblaze-desktop\u0060, \u0060trailblaze-inprocess-apk\u0060, \u0060trailblaze-report\u0060 and 1 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060sdks/typescript/src/memory.ts\u0060 reports through \u0060console.*\u0060 at line 233 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/memory.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05fc9afbd5702a82e004f56ef683290ba41399c7aa149dea976fe83f2d17890"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060sdks/typescript/src/memory.ts\u0060 reports through \u0060console.*\u0060 at line 252 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/memory.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03d49c5c0b63764e4b2b804974be70d2571227482cdc489ccab282d07df85b4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060sdks/typescript/src/run.ts\u0060 reports through \u0060console.*\u0060 at line 23 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/run.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d56b63f7d7ada3c99069bfa304c42fb531a06f394cafde161d0a58a0601a999"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060sdks/typescript/src/tool-core.ts\u0060 reports through \u0060console.*\u0060 at line 409 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/tool-core.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8df27db96e7c621733f04828e354a8f0a5eeb0abdfd2fa512283cfbbe2b06ce"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060sdks/typescript/src/tool.ts\u0060 reports through \u0060console.*\u0060 at line 292 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/tool.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea487ed9adb81cdf11427a2c9ba44227ea9a89deaf1713cd063ef2f6af35fdcb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060sdks/typescript/src/tool.ts\u0060 reports through \u0060console.*\u0060 at line 500 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/tool.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"3345c18cb70b1a7c45458d7871dddd2e7ff4738802c169e9ffb0687eb42d4478"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060sdks/typescript/src/surveys/workspace.ts\u0060 reports through \u0060console.*\u0060 at line 26 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/workspace.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed92c7a59886afa9ac7454c687f80bd8b6681edf526a3a954ceedb48cc9a3049"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060sdks/typescript/src/rpc/example.ts\u0060 reports through \u0060console.*\u0060 at line 44 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/rpc/example.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3f1e69a1e2d8769eb81d945eddae01173b01f0683d5e59daed2b6c4319f399"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 10 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/build-desktop.yml"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060examples/android-sample-app/trails/config/host-tools/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":"examples/android-sample-app/trails/config/host-tools/package.json"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9fdb1c93bba6ad7197aa35400e49fd3f7cb06d082996b42d16fcc8b4b2b14e"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/build-desktop.yml"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060.openConnection(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/RunReportGenerator.kt"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e755f0f244aa236823ff2a85e18a96785f69390ab3dfceb6e13f31c22fdbf0d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060runAll\u0060 is async and calls runBlocking \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/SessionCleanups.kt"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd36b278332ae83c83b1cb0b01fe40898884f4c32374f5f354ebbb48de6f093"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execute\u0060 is async and calls runBlocking \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/LaunchAppTrailblazeTool.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68ac4760ca892bedcf128de7f674db23554fb5b5cf451e9e25f910a401bb287"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060runHostAgentWithOnDeviceRpc\u0060 is async and calls runBlocking \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c7d326aae962652fa46f09bb262eb63bd9ce970075224c7b019b563a216a0a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060streamAndroidLiveH264AccessUnits\u0060 is async and calls runBlocking \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/AndroidLiveFrameStream.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc3a0d59b9ba7d99892a1920fcba811f8e389406b8bd931e3bfab04b65c753a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060streamIosLiveH264AccessUnits\u0060 is async and calls runBlocking \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/IosLiveFrameStream.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a212eaa7df8deae6ee893f663c2c52c4035123b5662b9d11e1fab12676ef2322"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060connect\u0060 is async and calls runBlocking \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolHost.kt"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ff8ff08290af8aec9a931f3be90eaf2ce76d56f14a5330d3627f5780b739ab"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060install\u0060 is async and calls runBlocking \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-scripting-fetch/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/scripting/fetch/OkHttpFetchExtension.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de9b89493051d0ed4f6d970e0f5fc88affe3f97bb95f51d49862a1ac8a71b4d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060startStdioMcpServer\u0060 is async and calls runBlocking \u2014 a blocking call inside async code stalls the coroutine\u0027s thread, and every coroutine dispatched to it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":3231}}}],"partialFingerprints":{"codehealthFindingId/v1":"0799a7b3cdb737eba668c0b1d34a7bfbd75f866fb4dbc384e8c6101044022eea"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060runSurveyCli\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/cli-main.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ca9b6350bb480e0e34c2278c16b54b595fd165d190280388d05d8860ab0ad7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060ensureExtractDir\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"240e9fe6c48ebb492f83e8ed985d4287599e938599b5ea24382896b0e67aa26a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060ensureExtractDir\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4dcfa305a6343e067280615c88ae9af5da17465ecfd41169516dd5059ef3ba"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060realpathSync\u0060 in \u0060inside\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"515b897751abeffaa6a9cdb32419489456fd23cbcdd06740736fd3fb230c5ff3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060realpathSync\u0060 in \u0060inside\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfde52c7b89586187c61faa1aff1f7556a8aa23901e60a41ae11cd9791ba83c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060intoExtractDir\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"449bee516ab54adfced8af3d7a1ffe8fda7813ca1191d8806e9de081d610ffa5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060walk\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f775504cd99ad0b692800bbf51d46369d9f590cf32e6ba0b4fbf60ee95442501"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060walk\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1f7ebc1a1c13d05e6ef901e1d32977bffee27b7c96ae512c631bed9c192fd4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060walk\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b66598f5cddc820b2ccf0aa9fbe119363212eeffe7faf93c3b36c42ab2dc4fd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060walk\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb35f73a0000faebc4d3cc1497f2c58d866c5459dd74491da8c34a2f0af8a79f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060extractZip\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a04dad1e9e53e916fbaa90993ca5d865a066e7a9b01626e321616eb276c09b7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060extractZip\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d367c0b488be58529c325531d52ddf301382f12032ce0fcbdbb00ed517cba94"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060extractZip\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"993de6e8f1db260b6d853c55fb5b6510a2d5c3e9470e8ffddf9af46356753dfb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060extractZip\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e6c1a74dff8f983e9e57a3e3118d098acd709690e78f26e95cb0cc2ac27ea2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to filter\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f945d2e0e2ac799438aefd13c13a180f4cea0388c57c9d5d39e3e423264881f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060callback to filter\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cfd8566dbb1b54e2572e681faab767ae5062f5aea8332dff8c0d02157080d2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060walk\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"497695af0ad43ba82ab5b8966e7c862effe4cf7395c563f3ad49fdac3e2ccce9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060walk\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"776c64520062d6fa473f1d588cc13af0562ca8a244b986fddca9ed170381a469"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060walk\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cc555f4de8ea6154b76515d894fb683a71c00179c9a562923cabd15ef6062b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060walk\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dab2a14a9398ec41e9d04828b8e1c16b509285c9d262ed439cf541b855e2d0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/snapshot/cli.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf0296ba60d58e78e08eac1a6cd9dd1f3482d3975d77536dbb67ea79cc5cb1e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/snapshot/cli.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b6e8df01a2361dba206fd9109b51fbfc3fa480a229f3bb54e363afa172f617"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060main\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/snapshot/cli.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87d50c2b74408beb8b310982bf91c14386355775828c75cc7b0da0f5b55de89"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060loadWorkspace\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/workspace.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2df7deeb6fdcc105ead5ed2d705e8035d8c20ad15240528a9c9e9ab6b761470"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060loadWorkspace\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/workspace.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"47214f004882bbdc45eef827a06fbee7a387401be3a90e86e97bb9caef764cbe"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060loadWorkspace\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/workspace.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0dc5d3c7fbc46e3d46f95bd514e965010895585be8bfd24144aafc984f91f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (8 clone groups): 8 duplicated blocks under the repository root have copies in at least two of the sibling directories sdks, trailblaze-host, trailblaze-report \u2014 3 of them are reported below, and 5 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 8 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 8 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 8 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/log-clock.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b654e38da6bdfa434ae0855a47c1b79eeb1b0ae5ce5ac16f3220a7079fe5b55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (69 matched lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx:19 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:583 \u2014 the two spans are one implementation copied and then locally edited \u2014 1074 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd647923fb1f199aa4d09caa2443f266651a17414a809f465eeb2d3d2121415"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (35 matched lines \u00D7 2 locations): sdks/typescript/src/surveys/log-clock.ts:43 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts:48 \u2014 the two spans are one implementation copied and then locally edited \u2014 382 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/log-clock.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c666dabf35eb43f89b08a790d7cc25079d4c03160bb3be0d5c729aa382587e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): sdks/typescript/src/in-process.ts:152 \u00B7 sdks/typescript/src/tool.ts:408 \u2014 the two spans are one implementation copied and then locally edited \u2014 253 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/in-process.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ad8abdad0ff1722df038c44220e118de5a012869791996d38d14a77a2c2b1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:2553 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:901 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2553}}}],"partialFingerprints":{"codehealthFindingId/v1":"763c7378de3e69624cec7f45a0cafadce3b8ae51ac3d29245cc7ee5f67a9bf4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): sdks/typescript/src/client.ts:571 \u00B7 sdks/typescript/src/testing.ts:303 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/client.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"d248bc1b8393f1d19826bc996e1a024ffadf9acf2fbb6dfa685094397cceacb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): sdks/typescript/src/client.ts:653 \u00B7 sdks/typescript/src/testing.ts:333 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/client.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af87352d2e117c6da4b9965b3c0dc62454a58b00cbd02bfa81ed00816b95a5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): sdks/typescript/src/tool-core.ts:458 \u00B7 sdks/typescript/src/tool-core.ts:516 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/tool-core.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c203e1dde1587b23e1026a35b063015ace23f23b532895b44f1700db96b7ce9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx:477 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx:458 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecc79b8716d8df3632b7fd6baa263c1dd1f709dece40a7e17fd8637970cd97a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3 locations): trails/config/trailmaps/calendar/tools/calendar_android_launchApp.ts:13 \u00B7 trails/config/trailmaps/contacts/tools/contacts_android_launchApp.ts:14 \u00B7 trails/config/trailmaps/wikipedia/tools/wikipedia_android_launchApp.ts:13 \u2014 the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trails/config/trailmaps/calendar/tools/calendar_android_launchApp.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a7793657acafaca819fb3aaf6795c16a980789d75a6be9b312cf8d6c33c83a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:10590 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:10608 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":10590}}}],"partialFingerprints":{"codehealthFindingId/v1":"9425d2c9cd383e2637a3225de6dead554fe941549f4341e6c17d69d695076e31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): sdks/typescript/src/matcher/resolver.ts:423 \u00B7 sdks/typescript/src/matcher/resolver.ts:493 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"30179e0a3e37c4d6c2e102e2ea0b364d56447dcab84481cb5360bc50d7dd2441"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:378 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:997 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d13be1573d4bffca44dd4f95c54fa84eaedea85baa04a88c78234f128712640"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): trails/config/trailmaps/calendar/tools/calendar_android_launchApp.ts:17 \u00B7 trails/config/trailmaps/clock/tools/clock_android_launchApp.ts:67 \u00B7 trails/config/trailmaps/contacts/tools/contacts_android_launchApp.ts:18 \u00B7 trails/config/trailmaps/wikipedia/tools/wikipedia_android_launchApp.ts:17 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trails/config/trailmaps/calendar/tools/calendar_android_launchApp.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe752b262256f97da9fa0f6a2e2a7cf40d509fe6c30cc56ce45d5948a0f7a61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:2496 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:548 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2496}}}],"partialFingerprints":{"codehealthFindingId/v1":"9780846138a3fbf313fca8ae896e6b58a4b4f7438cd469b27fb8e1d851a5e3d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx:607 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx:484 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx:465 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc35c23b548fcc3568b4d542eba99b0fff2b1eaa96a11f6c4d8695055a63db4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts:593 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts:636 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee42d2c91566179456e31e9a7bf26c4a06dca2ae6106ee4d658a512d1d9bf31c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:2933 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:1685 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2933}}}],"partialFingerprints":{"codehealthFindingId/v1":"651f86c97f081f87a1ba951194e395a6bd1dcb41278785afead0703bfae0038e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx:851 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx:422 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"da116ca3fc8a428f65a0eadc0405d8ef821223bf382687bae68a61e4f07dc9ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-warnings.ts:20 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-warnings.ts:54 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-warnings.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1585bf1ce652835246278d039054797620fa997e7427d29edd66857ec01cc8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): trails/config/trailmaps/calendar/tools/calendar_android_launchApp.ts:1 \u00B7 trails/config/trailmaps/clock/tools/clock_clearAlarms.ts:1 \u00B7 trails/config/trailmaps/contacts/tools/contacts_android_launchApp.ts:1 \u00B7 trails/config/trailmaps/wikipedia/tools/wikipedia_android_launchApp.ts:1 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trails/config/trailmaps/calendar/tools/calendar_android_launchApp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"148b42389c97d41324193cd5f8de3703912fffd73886a71016cce4176280b299"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): sdks/typescript/src/client.ts:480 \u00B7 sdks/typescript/src/client.ts:645 \u00B7 sdks/typescript/src/testing.ts:328 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/client.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5dbd6327ff00d15be314f8c8510a5d55e3b4c4235ea7c9d224ad3395ec6aad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:972 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1015 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"2573d5b1b5aa6361beffbd863a83bbfae2b5d7f261101830e2a3f397857f8aa3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor-sync.js:97 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/lsp-convert.js:48 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js:437 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor-sync.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f5496018b0472c929bf97bc2b375c78e176b95f9cabc80c00ec0afc826d297"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js:714 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js:758 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e70b40aafaa98e59d8bfd8c77d6b26fc0d95eb5b387251c9077ca53dcf5dbe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js:386 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js:562 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"50735a1391334a32b0afc9e356b954696ecaf7af8250d838f0fbef5fd29a7fbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer-bundle.macro.ts:12 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell-bundle.macro.ts:11 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer-bundle.macro.ts:18 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer-bundle.macro.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08d2cc0395f87daead6ab3b92cb676064fa39a2962539362c7d92b351656ae6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts:2089 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts:2104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":2089}}}],"partialFingerprints":{"codehealthFindingId/v1":"742678e581594ba32678b92630ddf54b10f167934dc448218627f3cbf44337e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): sdks/typescript/src/history.ts:75 \u00B7 sdks/typescript/src/session-events.ts:104 \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":"sdks/typescript/src/history.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6bb73bde60f2d4e79fd25cdeaf5648b81a69395ca260dc7822f815d835e305"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/rpc/daemon.ts:151 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/rpc/daemon.ts:183 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/rpc/daemon.ts:199 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/rpc/daemon.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5be993d2547e94890f1bf4105d39176f385d07368e267fbd0550b69d716fcf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx:586 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx:445 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70837765bf84915110146f28f782139c01d4f6af217d85b71799214e9796cbe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:1588 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:8932 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13cc1d67f945159377b6ee0e5215f10949fb193116b3ecae608877bcff008bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): sdks/typescript/src/memory.ts:405 \u00B7 sdks/typescript/src/trailhead.ts:193 \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":"sdks/typescript/src/memory.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5aa31e9388ea983046281cd571a66baf5d2b4eab2224182818e652b0c61fe87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): sdks/typescript/tools/extract-tool-defs.mjs:598 \u00B7 sdks/typescript/tools/extract-tool-defs.mjs:636 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/tools/extract-tool-defs.mjs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"66780c165c661d4656441a8623e76969cb93609419190f6579640192514a72af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): sdks/typescript/tools/in-process-wrapper-template.mjs:25 \u00B7 sdks/typescript/tools/in-process-wrapper-template.mjs:46 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/tools/in-process-wrapper-template.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1ca026515e6dbc9d37e3a0a8dec4499b0d3d234010460f72cf6a54f2cde619"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:725 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:914 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe406f227185366caa061e3cf1c597def8750689602e3f1580cefe8d7dbd648"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1003 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1194 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"d605e2f886639d9a1222ae8669581f1a307b5c69f5de5388c25c7882f0be7f1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js:692 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js:725 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa8410e45f2f3fc48fc82f10a20b69cc43b514be9360cd1cafd43478d229a1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:469 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:1049 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"e658fb184cf600d4929c036923c71ffcc7a6bcbb331e30b88d1b9a32c125f788"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1035 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1134 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b95ae5bd290d9fc4ba251e91af1eb66f5f55d71239f8035d3193575336fbf2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1075 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1090 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd05868c0313d15ebd26c91e754f7186e4e0da5173f8d8e6ae19357598de57b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-fanout.js:202 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-fanout.js:285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-fanout.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5d51ea789cc75eed24a015bacc8a487b641d18fa0e0b22d98738085035b02a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:532 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:1317 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2acff19661e40db2ec7e0f704945aab5788fa50590a901d0372c1fc4da6d70f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:1138 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx:297 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f40e223b0fb2705f343637d5ba0a2c88e44c0d4953e3fbec9462508e263812c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx:550 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx:272 \u2014 the two spans are one implementation copied and then locally edited \u2014 123 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"539ffb3a878e8b2532e46ec5d639dab2c33bbdc075913ecb72bb21819c3ce859"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/report/perf-report-cli.ts:39 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts:928 \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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/perf-report-cli.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bfc12cb6bb08ccb151a59e882285c31d479b97beeec114e9a7d156afd27f91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts:738 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts:826 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"cade4f8e6b35121f300d68a01bb2df9b8562348885c65f5f5ab08444c51b9fa8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts:522 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts:536 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfd20fffe3c2569f196e43dd3530e1ebf612d871b74cfd8e68301ca5fb0df17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): sdks/typescript/src/surveys/discover.ts:292 \u00B7 sdks/typescript/src/surveys/targets.ts:21 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd3e38fcccb6c75954db0025d00c3ef29c4a0c6b6f400da70d02754a5212bb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:683 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:923 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb0a7cab17fd9401825da940e6b741e33f9213a99953a3d240ae011ae7f7a77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:708 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:722 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:814 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:872 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ee2d0294009d1319bce4b44a1da615fae69cb96643c7111f5b47e6cfd06311"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js:340 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js:837 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b13fe528f1d09fdbb9406e4ac8bf9a3dba138ea2fc87ff11586b31eb9d4efd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:2271 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx:795 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2271}}}],"partialFingerprints":{"codehealthFindingId/v1":"d011a9380a11fa2f1d05cc7fa40d4d3dff2f02a591c4b91a199acf25d0a608f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/zip-report.tsx:72 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/share-export.tsx:75 \u2014 the two spans are one implementation copied and then locally edited \u2014 84 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/zip-report.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80e79b2ba023b4259ac94c8dabfc75a1329f2a9675b25af96865a65dad5b7be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx:183 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx:189 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e2371de83f6dc558d641313b21d241aa93b3bb1092795c70bef65ee5ed31c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js:405 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js:439 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc90846e61e01a1b0da535a186723826dbf4ad745a19dabec6d680378de66049"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts:212 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts:1012 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"17589f799b869168fd96902fd47674a6b9addeaa68ab4679b258e12471706eaf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts:1364 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts:1401 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1c5ba611e96911813dccd36d6a848ac076dced1019fe82450b0a148ff69c8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts:825 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts:866 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"053e4b57acdc3ce7d8c404911e120beaf922b2ce04cd123c062da2bd07642c17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:7830 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:7928 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7830}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3c1b246dc349200cacb6ba4f6345858404233cd104def5da6a9338f2549f99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): sdks/typescript/src/session-start.ts:5 \u00B7 sdks/typescript/src/surveys/parse.ts:8 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/session-start.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d7b6453688bc147c4385941f9a6c1022d344a3113dbd3f2d1bf9b3d99928b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): sdks/typescript/src/surveys/match.ts:39 \u00B7 sdks/typescript/src/surveys/match.ts:47 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/match.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a00e73bc80ca0e6391c872c0a16adf0ea65a90c7f3b0f7d5c4b51d12fdd1a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): sdks/typescript/src/surveys/stream.ts:234 \u00B7 sdks/typescript/src/surveys/stream.ts:335 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stream.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b5062d8edd59cab9798068dda8a3dd04fdfe04c99221bbab5b37876ee955a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): trailblaze-common/src/commonMain/resources/trails/config/trailmaps/trailblaze/lib/runIf.ts:170 \u00B7 trailblaze-common/src/commonMain/resources/trails/config/trailmaps/trailblaze/lib/runIf.ts:177 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/commonMain/resources/trails/config/trailmaps/trailblaze/lib/runIf.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10269de8022080d58b9ab52185f5842140dca0de2281b763fb17670325682aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:659 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:856 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"656517212837e45973227af319cf57563c662697084638ce7e38b5677108b37e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:749 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1193 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"d547216c4be1dc4f247542ebde95a997821f3c50036748d4e732eac80dcd5881"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:870 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:884 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c5fc857ea817de36fdd9846b6c938e63837d0f0cd91cf394774fb7573e3f4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1015 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1106 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1149 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4c03b55ddd9715ab494a4d07a7d41a20fa2b9348f1d73cdf208110ab106f1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1054 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1214 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"54681cc49cccfd3a3200e4ed68fd777f21241dc4888a8438cb124f984d9e7a1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1120 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1209 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e80969bc6fc0f39195fd2683ceab06f77b551d8c8d7f4118872cb3048ff719"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js:345 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js:381 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb87f78dc13a5c835396b86cd27dc9ff9f17f9913727b4cb941b7076be5b0f24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/rpc/daemon.ts:69 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/rpc/daemon.ts:92 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/rpc/daemon.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55513a2e87fcb7338e5a4590e51faec24fcfed8ccb3e666b05a6b182a09f4bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx:400 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx:486 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx:698 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c1b32acbdff173cb67db3b338f097dda34c0e535865602658d65adc78e8f2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-activity-model.js:11 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console-model.js:8 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/follow-run-model.js:14 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-activity-model.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea63ae1dfb886ab3b2e78d240aba8b9828e3d9b337de8ca7b6acec249e1d514c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx:38 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:783 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1c5975162d4683c86148f37c811856a926347db97296247225c45e8519c766"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx:405 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:708 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06afde732ba965d7954fc2b1955af004b417462f3ef8562960bb6217d658465"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx:803 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx:811 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"776337e7faf50da2f32994842da3a5e370641c1953f6e0fd32a6fcaedc2fbfd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx:877 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx:621 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d51ef49814d59d8a63d2b0fda8ead0725bd938da1c7be9f16c7e5cea58fca5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx:406 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx:44 \u2014 the two spans are one implementation copied and then locally edited \u2014 132 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a02afc72a9fb3d5281a760a1872951df046e52eeff7c8dd2b0aaa7f073be11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx:104 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx:44 \u2014 the two spans are one implementation copied and then locally edited \u2014 133 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fbd17e903e2deff00ccb8577ea79005ece1427641f929409b4acdd700d48ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts:533 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts:565 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdc874c9fef16760a216f04e75aff2731f87d15baf53acc468f8137df8a8eab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts:172 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts:189 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f86620e87c841c14689fcad27db095533c0443fd28ebc7eb89028027e2ce819"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:10291 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:10319 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":10291}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1167f2a8c25a42c15301fad2f439e9356f2462d2bbd206a268251bc4f30a8c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:11067 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:11076 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11067}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddbe7c6655e9f2b7cd44ab3cd5ce5e745fcc8b382f636be634987f317d34419"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): sdks/typescript/src/session-start.ts:31 \u00B7 sdks/typescript/src/surveys/session.ts:728 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/session-start.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"121ff31bb108e224218ccb8fd4016a57efd9bfb5e1472c01f679677277f9cab7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): sdks/typescript/src/surveys/stream.ts:369 \u00B7 sdks/typescript/src/surveys/survey.ts:109 \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":"sdks/typescript/src/surveys/stream.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"16866555c41d28c6a0fdfbc8f117495485383ccf19f9e636f9b521d3099b3eda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-extract.tsx:16 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:234 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-extract.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b96880d81a2a372c2c5ca6c56fe8c727ffc169feb6c1a909206e48d7d0a25fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-extract.tsx:54 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js:79 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-extract.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f5a95183169edf7195af8b80d32b7fb03184a668232c193fdabd38f9d3847d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx:497 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx:574 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx:154 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"acceab133deae3619c9c3953ae78603391a6de4da5f92238eeef3e36f0f4b627"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx:670 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:462 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:746 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"4723a4de53dfcfc8961dfd648f5fa22de66bff5acb0a68e5c8903050a4be2234"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx:445 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:4855 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfca91a19128b482c9f30246c7d4f6176c9d7b3eafc9b3c0bdd2f9dd95cf8931"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js:248 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js:271 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"207bbca1c713ba6e837a2a7911a0d51046c2ef7145fc70109b5c50ceb7a2845f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js:376 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js:419 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf19fb6d6856b77ebcd4122051aec47591d808f47375fcaa0a5c965ef739cb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx:505 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx:985 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29846277963b6d15da786951d9343ec4db4de20a1710360ebc942b6465d2a62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx:133 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:332 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"60728276ccea7bbc5b3757c7bdf75bc35da8789ebf12a78c808ed6c620fb4f57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx:225 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:699 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"066b329d70ea5da662fb10cfb11d134de2d0733a12b34247f4c517f814ac1ee3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx:336 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:1030 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd04a61b9559c9bd15df98464103cce6d431e293d71c4f4b95fe20cbe9b5065"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:353 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:970 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c006f264621d4f545dc6baaff066eed5e13f009f485d92f3d544c20559c2d65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:2514 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:572 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2514}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cb17315399beb6a51194fbf1a61b98626a6d94702626614084f80efc3d5eb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/integrations.tsx:178 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/integrations.tsx:186 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/integrations.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"1262c5479980cfdf7ebef6177ab8594b484eea9f89c817132134b6dbfa4c72fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:216 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx:434 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf31b4cb8a392d2a7f5234199c76e53229f72dd4c5ae69cf939a863eec98bd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:716 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx:77 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a6cf390005781d6585deececb8f289f78e4f4ec2bc504d900f056ef4375562"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx:248 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx:254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22be40d5b4d257a9570c0ec9f174c28d11e195e847261b0e54b874c1fad2f70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx:388 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx:307 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcc6195801bd9fc63c819cede2350a1c5082d7d109d42a6c42bb34c72cff65e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx:186 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx:192 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f801620206eaea09429c3a23b6cab63a48830821564b2eb43d58161a406ad3e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx:444 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx:511 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bed979f534c454c7580123506191dbacfdc3b9440c4c21214f5cbd99e4eea73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx:387 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/share-export.tsx:87 \u2014 the two spans are one implementation copied and then locally edited \u2014 101 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c561a75e56aef09c9243a3123a0067b9507b90aef219ef602e15a7d50493c04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx:192 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx:505 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"59caa16efe30b9102031c3d3a29b9929121b2cda959288f72a7828aa36f963fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx:244 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/share-export.tsx:87 \u2014 the two spans are one implementation copied and then locally edited \u2014 101 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e88a55d07c1a640a1f589ea709a50e8008bf8aed4829241dd73b88aa7d540f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx:8 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx:22 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfabd120deb55a76d7897a62a6797501bcde9c9e7941fd756b5c598b51b6635c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts:443 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts:482 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d94132ec34739aa2c7cbd9ff8e31c5dab304934e7516fc6d31fa0424365fc3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts:603 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts:624 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39c6b9d911d429fcaf93630871dfa8c75ccb27ab5609785e29ba7308b4efc09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-playback.ts:79 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-playback.ts:119 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-playback.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ee72875838577ca89cd9f5c1200dcab8e177f088232dce797731985c4baf9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts:369 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts:402 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea7ef7d6eecc107e45da980938a40d9e5ae69bfd20c98837fa17c00d051f5d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts:1128 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts:1188 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"06376c987dc2f82dd4a3d5b18d337786a4b31515f7dc3af6a6a0ec3df2f6ddf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts:198 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts:206 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"048071c19036238b20c75740bc1f73163ea356075cffaca7adb9e8217ab727fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:2275 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:2307 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee76d5cb7fb7706abb95779b2b9a103e12c2b630644eacfc7c8f8a20d8d8d689"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:9697 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:10694 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9697}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e418b3d39adc3211a52999e623114df048a02a2b9bba4995ac81c51cff01c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): sdks/typescript/src/surveys/live-plan.ts:120 \u00B7 sdks/typescript/src/surveys/stream.ts:162 \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":"sdks/typescript/src/surveys/live-plan.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3199fe3d57f8f2034ca0042115b10e018ffa0d3abb7830d5ecf0d0856912e95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): sdks/typescript/src/surveys/stream.ts:165 \u00B7 sdks/typescript/src/surveys/survey.ts:163 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stream.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed86dfa8823aa07b39010a0aaa31b194d2631eae7feb79f2622a11cd15dd332"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:700 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:883 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:898 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1193 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd23f2b32e6b4c4e55c2611684accd64284c2ec3874bc4e3f88621ffbbe7e99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:773 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:791 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5093cf2130e0e077da6da342656eebd35cb643b5b1a95b55d7464587d60ad02"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:823 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1221 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:1244 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cd4721d0492ed71560c931def9eb9555a7e467d9220ffeae2087843865f268"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:920 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx:932 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f97226392dc164d6c8ca955b0e4920215a46afec1c968a3b2ff25f91ee5114"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx:125 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx:498 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c367b8cac2a2ec274575dab4f3a0f58b2e636c33c025b7689893e9db7077f5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx:432 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx:476 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"e850ce27b521fe97896450e66ac4aa792fcce1937dd057e586d7b3b94c881f65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx:496 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx:53 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"48902868c02b083f2e091ecb48fb5e968b3e515448a4cef6a3b1e9f463351844"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:325 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:748 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"385bf09eee8221f1182c43f39903741de545613a7d5bec5fa260a8804a31347b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:361 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:978 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b09a9f6a5876e1684f5a447b662c354b6ee70175be25e7a7935750c9393cc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:459 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:679 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:745 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc642f3bfa86d26c0943734742e3cce462539a8104b923861ca84dab619e57f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:485 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:1389 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3a6aab4262800013e08312799b47317c324bb9367d412753ffa55e522ebaba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:2004 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx:2085 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2004}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea307bbe5f98c8615a86549f4d114ed70678c39e26de5038643f950d19df4d8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/not-installed-targets-model.js:8 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/target-picker-model.js:7 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/not-installed-targets-model.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"c143dfa93638361b2b5fad28cbc3abe86a41635298957af7aa7a55404007b95b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:1542 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:1629 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"23290939981217c3d07c300e55d56d2ba265808283d405844ea9077aea23ef24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx:207 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx:53 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f08f3865fb1a7ec3734f38fc0b0431e17f478eaedc0ec8fd47fe34b58011982"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx:826 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx:175 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b5f534c6d84259eeb660752ad652cdb5bb06578171f106f474905016058d1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx:272 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx:1212 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx:588 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx:409 \u00B7 \u002B3 more site(s) not listed \u2014 the 6 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5dc48eb0b444c5adeabf814a268a06f2cb8c61a5d4c088801b334b3c3ca8f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx:462 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx:297 \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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ae52ee908138d788baf0934c2ab926a80011fae179e979d4c445e1a51508d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx:561 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx:212 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"11858ee8363d25170e4677ea740241943db40021715540d6270f39f4fd6608b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx:300 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx:332 \u2014 the two spans are one implementation copied and then locally edited \u2014 85 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e64d670d930ba53df7756931224e51587f5291ed8c67a53fb29ade5a806235"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx:216 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx:570 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"684eee547c92f641aadc097288aae36f3985ce08369c79a0f9d0e55d2b842528"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx:359 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx:484 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd78041a2f4a3cfe1bb267a18c236adebab40ddf23f11f5ea0d5c4009836664"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx:717 \u00B7 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx:732 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"5faea7b3c4ebf42bb0a08c1824e03e66e66d1d75ccdf7e8fb9125b2ba13a4101"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/report/event-formatters/memory.formatter.ts:58 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts:1222 \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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/event-formatters/memory.formatter.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9761422af756e9db9f4cd98b4d6f4762faa614ee76e1301b344c0bbf2ea336b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts:125 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts:1308 \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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"22aeb6b86df1a685966f9c5f42e4459aefd067d730f4ddaf4e55d23a46ef8f23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-html.ts:19 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-html.ts:126 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-html.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"25356d1e914c2b57b7299fbdd99a44cd2b66cfb02cc302943047fcc019b20c16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts:900 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts:906 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57eb4fdb05bf8c8a64d686dcaca762a17714cf2af0a22029265fd341f8782f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts:288 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:519 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c18dd26aead8c7fcf5bd3f0f7c2386631f21e74ac6a1d9f7580af230c214859"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts:178 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts:1064 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"461da76cfbb429fc4d733ede21580e57ae9a3575a3352c6ef1702bfdf587d02a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts:576 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts:620 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b86223d481c34d2673bf7fc4845b68c6494e525d7eff611f5e5da3f9544140"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts:1189 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts:1196 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80779b081f110b6a15791bf9dd76a87941b14a6adbcf25a02bb4c0a79a12caa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts:1515 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts:334 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e3ccacaea0fdc07caf81e0544e26cef7a624fe4db487abfffe99a782f77cdb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts:323 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts:350 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6a7efcea0478b65e911d21a5062bbd82cba0a70a1c43b2aecbe547785e30c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts:824 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:2370 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceabc4d598d2ff23a8d037f65bdbb59377de188e3229f65ec032567db5a6bf61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts:453 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts:478 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ad20263bd5de7eea6a0dc3a933284653b3fd0da16a56718f87cb98784fe0d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts:692 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts:281 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9d2e5144fc78e6f17127feb585a565a3c1cbb168ac51703d01e2f7bc5c94c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-model.ts:181 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-model.ts:191 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-model.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e154219ed93aee2b47b225dca1c5d046580246f09cef2dbb8a041326c07e1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts:164 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts:694 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bb3b065781014af086d5c9dcf0bebb00c4ffab745afb19239320905f47efb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:111 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:171 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa5c544b2745ae781ecf0670ab150b0103e6add1870cc2f8dfa8981c3d44144"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:1093 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:1790 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a0362c0159960f124c674839278d47714f75674ddd287788212397373b18c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:2006 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:2045 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f28bce4f6cb9e7021124f057d81ab8b1392f8e13023916ab502bd6e23fd14ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:10138 \u00B7 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts:10647 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":10138}}}],"partialFingerprints":{"codehealthFindingId/v1":"df187aa9f73f4d021251f102903f32154a0eba17f50c930e847223e687dde341"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: sdks/typescript/src/tool.ts:12 imports ajv/dist/2020.js, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/tool.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc674d75b88869ab6eb9cf420cd459fa23a6e80273dfa53f1085119a5bc78d4a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/rpc/daemon.ts:56 reaches into another package with a relative path (../../../../../../../../../../../sdks/typescript/src/rpc/client) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/rpc/daemon.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f5d6efcc460ed5d5ecafd2fd1f411ea44f251b51595475de70620581c65368"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractTrace (cyclomatic 176, cognitive 307): extractTrace has cyclomatic complexity 176 and cognitive complexity 307; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"0350855f4dd904f31b1600da6a6b1785598b41db28cff0b26d4e68b04154aa1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RecordScreen (cyclomatic 168, cognitive 158): RecordScreen has cyclomatic complexity 168 and cognitive complexity 158; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6690c083506f0c75d19c36e277536f6d4e6e5e275edd48d2242917a8fb2ddbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 164, cognitive 177): render has cyclomatic complexity 164 and cognitive complexity 177; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8245}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a9f4abca4669b2bacef129681518c83fae5d554be7cd4746a01da6eff85812"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderViewerState (cyclomatic 145, cognitive 154): renderViewerState has cyclomatic complexity 145 and cognitive complexity 154; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-core.test.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"310ac2711eef004262981d90a1c8dd23fe3eea4dc108ed2c7e08c4fc183929c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSummaryModel (cyclomatic 109, cognitive 172): buildSummaryModel has cyclomatic complexity 109 and cognitive complexity 172; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"080d94a421292e574876ef267b49ff13c9099a371a264162504c0e54e5143430"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunConfigDialog (cyclomatic 102, cognitive 88): RunConfigDialog has cyclomatic complexity 102 and cognitive complexity 88; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8417673260e96fbddd7ace19318f7f07e64d225b6ed1b3b2c15ed0c14b1d7506"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TrailsScreen (cyclomatic 82, cognitive 71): TrailsScreen has cyclomatic complexity 82 and cognitive complexity 71; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68306eb3ba11242f91e5d1b0069ce99aae3bc7436f964533ce19a1fb4073d07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderTimeline (cyclomatic 77, cognitive 101): renderTimeline has cyclomatic complexity 77 and cognitive complexity 101; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3622}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4d8f60fbda04460467b6bfdb895b0813ec7d0737951819f683503353af2aac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRoute (cyclomatic 71, cognitive 148): applyRoute has cyclomatic complexity 71 and cognitive complexity 148; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2adb283f706918b4a8b1b8a7582f79086f592f7911720f873975dfeebcc3e73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionsScreen (cyclomatic 71, cognitive 64): SessionsScreen has cyclomatic complexity 71 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cf43f7ef1a6b663334d9bfba3c02488c3c8bf1427f77de1158ffb18fd92d8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderCompareView (cyclomatic 60, cognitive 55): renderCompareView has cyclomatic complexity 60 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7482}}}],"partialFingerprints":{"codehealthFindingId/v1":"acdff239d33ffaf817b9ef6791a902b81f9dfae585ce561acbc316326a40b160"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function routeParams (cyclomatic 59, cognitive 131): routeParams has cyclomatic complexity 59 and cognitive complexity 131; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f6c4b3f8ac58f0a2757fbfb830319eb242d26a701aba0cc1ce2f200424a6f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stepRowHtml (cyclomatic 58, cognitive 56): stepRowHtml has cyclomatic complexity 58 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3547}}}],"partialFingerprints":{"codehealthFindingId/v1":"329db656a5cd778a9803893d7977e584f116539b28a4b5bc94ebdac6e854ac5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentComposer (cyclomatic 58, cognitive 49): AgentComposer has cyclomatic complexity 58 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3ac23189376da07526a979c193e61de9c76838a85ee86c786166074ad9d49d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSurveyCli (cyclomatic 56, cognitive 69): runSurveyCli has cyclomatic complexity 56 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/cli-main.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e226fdd9582ec9961ca03cc5ba9147a73c115529df8f8e806f3124c2f719a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentToolCard (cyclomatic 56, cognitive 43): AgentToolCard has cyclomatic complexity 56 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2144}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cdcd3ef47b6a56fc89b3f61377864ea83588dd3253ee0ba07291ff09bd6809"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TrailheadStep (cyclomatic 55, cognitive 49): TrailheadStep has cyclomatic complexity 55 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"6811e9c0e25b17f0c75e08e5d16ad3ebb9afa04290c4a23fe32a126ce3827917"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeydown (cyclomatic 54, cognitive 67): onKeydown has cyclomatic complexity 54 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11041}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99b5445b4657f05f550a9909cf7a4007723e0eff94b0b8d3af3d417d17d61b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRunMeta (cyclomatic 54, cognitive 54): buildRunMeta has cyclomatic complexity 54 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72e7c5b5df823cfa854179d037959b71eeb9d9afe5e5ab7b298f7ad2ec5f61b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 54, cognitive 40): (anonymous) has cyclomatic complexity 54 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b08faf88ab7dcb10d7bc6411ae63fb3251f646a347d552c3d484c7e328b6f04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TrailYamlEditor (cyclomatic 53, cognitive 45): TrailYamlEditor has cyclomatic complexity 53 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42e4302709d720a54d39e05f0ffc6b292bfb8765f83a0686d60c0f3d27cbf22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RUN_REPORT_VIEWER (cyclomatic 52, cognitive 47): RUN_REPORT_VIEWER has cyclomatic complexity 52 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f996a2c6c04fce6e229446b7cc5e9c6abcc1a71809cce55878a48f885fe9b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesAndroidAccessibility (cyclomatic 50, cognitive 51): matchesAndroidAccessibility has cyclomatic complexity 50 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29e5a25ef598bbd6379ca7721ebee64b1d1a74cec17f59a93c5ca8cd5f0f717"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function txCallContext (cyclomatic 48, cognitive 38): txCallContext has cyclomatic complexity 48 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3902}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2c10b7e30e20bb265aa5b9a1096a6e784bb0aeb4fb963b362dadb132eb9a66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolComposer (cyclomatic 48, cognitive 33): ToolComposer has cyclomatic complexity 48 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"24206506395c31fbafad1d4d6f9b29ac192d514df0a3497a1bf7768a2f5c7a9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onTreeKeyDown (cyclomatic 47, cognitive 67): onTreeKeyDown has cyclomatic complexity 47 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"273589e782489a7effe5c76c83ed1d8ada8dddb88c829656d288e41e004412ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolChildren (cyclomatic 47, cognitive 52): toolChildren has cyclomatic complexity 47 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c5b13babb0d5462e90e59ff6e43a50da4860678d39aa7fc8aa07654c36137e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function querySelector (cyclomatic 47, cognitive 46): querySelector has cyclomatic complexity 47 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-core.test.ts"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"c329828b575f7ffbc9a8846cbe290c9fdd6812570c85c9944c491878a1eaa696"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TraceViewer (cyclomatic 47, cognitive 42): TraceViewer has cyclomatic complexity 47 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd80110d182e056331fec32ea90345a4d37dd9565d4e30b174e4361360dd053"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function querySelectorAll (cyclomatic 46, cognitive 45): querySelectorAll has cyclomatic complexity 46 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-core.test.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55439e5c66019fd1d7106e3b3a36bff79a8fbf7fe84cc54ceb7d791ebcd5262"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyDetailRoute (cyclomatic 46, cognitive 45): applyDetailRoute has cyclomatic complexity 46 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7c72dd6a1f745a2c0e813adc8368d3bc9087e489a11a783806b566e2d5a27f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isInteractive (cyclomatic 46, cognitive 39): isInteractive has cyclomatic complexity 46 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/driver-node-detail.ts"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3e010699cf082d11eed5114588335dc8c8f4a2fd6b17df49f62e578e5de1ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 45, cognitive 54): run has cyclomatic complexity 45 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebddbd5418fc49ffe6b6d6251cd08340643dc58f1f46a4dccb153600140aa10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintLane (cyclomatic 44, cognitive 77): paintLane has cyclomatic complexity 44 and cognitive complexity 77; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":6723}}}],"partialFingerprints":{"codehealthFindingId/v1":"7693448a0b67527fc3e684384b6b5ec93080b2334cc1143780db3d393fc9275f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractLlmLogs (cyclomatic 43, cognitive 59): extractLlmLogs has cyclomatic complexity 43 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc2da24b67c0c387d470e88ae71f5e93d05869f65055104c73e7ffec89252f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 43, cognitive 42): update has cyclomatic complexity 43 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11218}}}],"partialFingerprints":{"codehealthFindingId/v1":"486a5819c971ffd5efca7344c76b0288a0be26fb4c5799384223704d659b44d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DemoGeneratePhase (cyclomatic 43, cognitive 40): DemoGeneratePhase has cyclomatic complexity 43 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee90470af534d8d8f30a514fa9b4da2dba21786c3cd35f2623cd4af38cd5b9fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTheaterStory (cyclomatic 42, cognitive 43): buildTheaterStory has cyclomatic complexity 42 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef0bbccfe47e588ea398ec065ff25083cc6457b3cdf93fac2cc2278824db014"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRoute (cyclomatic 42, cognitive 43): readRoute has cyclomatic complexity 42 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1836}}}],"partialFingerprints":{"codehealthFindingId/v1":"7724f996848fd7c20116b87fdb1735c164610a257362d76513416f90a23bf0b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getElementById (cyclomatic 42, cognitive 40): getElementById has cyclomatic complexity 42 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-core.test.ts"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f272ee566b2b71516c55dd58b7ad81d4fd1cc3bbd2c87ae397fe04ce799e6bae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectorMeta (cyclomatic 42, cognitive 18): selectorMeta has cyclomatic complexity 42 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a62cfce80fbf5868767ddb7ba348652cc4857d0b544e94411ce5eb489dcb276"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildReplayMemorySeries (cyclomatic 41, cognitive 67): buildReplayMemorySeries has cyclomatic complexity 41 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ecfcdcd127876f188d147819fcf72c4797e33ba8e0d88c31261c014c68421f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 40, cognitive 49): (anonymous) has cyclomatic complexity 40 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8637f7d3584d55fc3f1b26ed0cb0c6b88cc9d5130f324ab19c019181e6d709"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wire (cyclomatic 40, cognitive 41): wire has cyclomatic complexity 40 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":10132}}}],"partialFingerprints":{"codehealthFindingId/v1":"43be6c5f6cb08223cf30f6bbc0275eef3273e4d636b25409413dd12acc737f7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProposalCard (cyclomatic 40, cognitive 39): ProposalCard has cyclomatic complexity 40 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1aa32d85fb6b2b5eaeeb8ddb389660435605ee74919c906cb63ff137c892f9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentTranscriptItem (cyclomatic 40, cognitive 38): AgentTranscriptItem has cyclomatic complexity 40 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8caa1ebd048a35fb52098732bd20287251bbab33f2b3edf7cfede1f63c62f84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderRow (cyclomatic 40, cognitive 32): renderRow has cyclomatic complexity 40 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b482a997fafd1ec33b1a3d1c26f5fb262d70df534968ae62c4165ffc51f877"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeScratchTrailYaml (cyclomatic 39, cognitive 57): normalizeScratchTrailYaml has cyclomatic complexity 39 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"50aeb5725b07ae82e20a57c05179ac6af1a810ac6a3f9fac3bef4ed6a07855e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesCompose (cyclomatic 39, cognitive 38): matchesCompose has cyclomatic complexity 39 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"112d13decf77515d592742475e09280d29916c635cacc6c3f55ead14d1649efc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 35): (anonymous) has cyclomatic complexity 39 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a3570f44d1e67038fc153deef368435961b632940b876ec3d3dee6f6b68e28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditTargetModal (cyclomatic 39, cognitive 31): EditTargetModal has cyclomatic complexity 39 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f8c45e8f5e92ce270f5b8d75e814a375e904107be71f98017a308f6d61a5e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSurveys (cyclomatic 38, cognitive 73): runSurveys has cyclomatic complexity 38 and cognitive complexity 73; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/runner.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7795d72e2ccf823609349bcc3cf4fe60f580c686249953b81dc5cbfa3b2c3a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mountTheater (cyclomatic 38, cognitive 37): mountTheater has cyclomatic complexity 38 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"241ff6440165e0c878a1d4b801b9f308d03abc3f4e45ff5af4d526ed22542882"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DeviceConsoleCard (cyclomatic 38, cognitive 36): DeviceConsoleCard has cyclomatic complexity 38 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"960bebca27f00bcfc0fc4bd3b247886669adc8a0b99613e906480f6b835acd00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TrailTree (cyclomatic 38, cognitive 33): TrailTree has cyclomatic complexity 38 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e1f42ca905e26e79107ec30740e5b66848f24c8f94f920bf6ac51e1a36db72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StepCard (cyclomatic 37, cognitive 36): StepCard has cyclomatic complexity 37 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8b2b90dca57329ece68a00d231dd06c3319f086316be31e385111c0cb433b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StepsBoard (cyclomatic 37, cognitive 34): StepsBoard has cyclomatic complexity 37 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d0e5551638d0dfdb48c79ce4bf5bae47b8a8a2e6b900d83d8a6bb1166da83e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedSessionDetail (cyclomatic 37, cognitive 34): seedSessionDetail has cyclomatic complexity 37 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9283d994885f3ca1faeafa31a929875f3d8e05ea508b64e512a1f8f14ce249"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 28): (anonymous) has cyclomatic complexity 37 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0af70aee78df855b4c089dcd8afb3780e7cd6b1fda01b2c1176449c3fcd135"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintAt (cyclomatic 36, cognitive 64): paintAt has cyclomatic complexity 36 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9945}}}],"partialFingerprints":{"codehealthFindingId/v1":"8123f068c603f9206bef99d6164b3461b2e63874c85a5950d63b8efc1cc6122d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mountSummary (cyclomatic 36, cognitive 42): mountSummary has cyclomatic complexity 36 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d55b9ce5a18cd0e9747de71ef592f5182b253bfe283b5f878a6008fe88b9683"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 34): (anonymous) has cyclomatic complexity 36 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddfc8357c3c4f2fca7e0406b25308913aa2e647af24aaa78963f6e04fd35533"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runMeta (cyclomatic 36, cognitive 33): runMeta has cyclomatic complexity 36 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"21020798a51881bb5a48e2613bd653c8fcd7dbb9cefb6842e1413b9b6c6c83a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 66): (anonymous) has cyclomatic complexity 35 and cognitive complexity 66; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stream-write.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c64c1a099575a4d7e2573b94e6a2bc283e19b7dcaf30c4069ff35683de6492"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 52): (anonymous) has cyclomatic complexity 35 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-perfetto.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bcf8e828acb6bf04b0440ecd88dddb7382747b47078cc2dc473d22911d5c0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stringsTabHtml (cyclomatic 35, cognitive 46): stringsTabHtml has cyclomatic complexity 35 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-strings.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eea2bc6a42ba30fd1f0d2cb3667b79f1df84c261634af1c6e00c02410f0f4ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintTimelinePane (cyclomatic 35, cognitive 41): paintTimelinePane has cyclomatic complexity 35 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9756}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a871710e313e4ade682ab4e1015f5c5b958db9886201b31f1366dcac98a6c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 38): (anonymous) has cyclomatic complexity 35 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7060}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c638203b9689f2a672acb895977d44b59490404a81cde42f2f0a2298963f11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRenderer (cyclomatic 35, cognitive 34): resolveRenderer has cyclomatic complexity 35 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0641cfdc50d6c9b552815ba52b645db664855b85b7a6a1e5981a2a799b8358"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExternalAgentChat (cyclomatic 35, cognitive 33): ExternalAgentChat has cyclomatic complexity 35 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcac019ddfb495e43b6bc69e898da5304241a275a4eae18c2efbb182df7b27bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolsScreen (cyclomatic 35, cognitive 29): ToolsScreen has cyclomatic complexity 35 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a40bfdabe43c517c2167ecadb0c44b0afab712b4dd28ab32caa2848810b58b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceChip (cyclomatic 34, cognitive 30): WorkspaceChip has cyclomatic complexity 34 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb2ec8e51fef37e5fd8a4d75a454d59dc5eddc9ec2e51c335e04152b2337c15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 30): (anonymous) has cyclomatic complexity 34 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3671}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dfda4fe2d8a4d250e99a31182fd3a1e992e8a88de854f4248245620f9929be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSummary (cyclomatic 34, cognitive 26): buildSummary has cyclomatic complexity 34 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/session.ts"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d2905ef26f1a0d227e55bbac4c8fd3a1cd7b1386d25df845ba26b922cdec87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesIosMaestroAgainstAxe (cyclomatic 33, cognitive 36): matchesIosMaestroAgainstAxe has cyclomatic complexity 33 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3613e851d34da98e04c7196bdf2344609541fd7ae063d6dbe1c0a9f37d64df0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 33, cognitive 32): resolve has cyclomatic complexity 33 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ad66ca4b8a3443bd3b9f509fc547c955f7add0844695cbcd9bf3817afd792b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReadinessPanel (cyclomatic 33, cognitive 32): ReadinessPanel has cyclomatic complexity 33 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/home.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"2014802d89f4a641d17f13fe98237ace318176519a9d737e904a4b1efb6b16cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 32): (anonymous) has cyclomatic complexity 33 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e13a6131aaa0f6cc9f2496d290d76c48de43827c5af054ddf5ad8545605ac62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TargetCard (cyclomatic 33, cognitive 31): TargetCard has cyclomatic complexity 33 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3da446f3f91a13a051cc8d79861d7f7937eb539ea0956af01ab9937beaeb0ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BlazeScreen (cyclomatic 33, cognitive 29): BlazeScreen has cyclomatic complexity 33 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7753270b6bfa5d621a4e53cbf9257a87a28b6ecc3d753f9489733bce53ad5fd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolCallsPopover (cyclomatic 33, cognitive 28): ToolCallsPopover has cyclomatic complexity 33 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5742d4f2226fb2d4d022360b20874abfd14f83d6b61dde51b3a6fba8a09f197"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nestAndAccount (cyclomatic 32, cognitive 54): nestAndAccount has cyclomatic complexity 32 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e2322b3ca01a8bcfb16aa8c8831ce68b79b61a940097cfe61ab749a36a8f40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function place (cyclomatic 32, cognitive 40): place has cyclomatic complexity 32 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f213ca8817757e12f797714a81b927505c0e41c21c26453d72aedbc0089669b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findSplit (cyclomatic 32, cognitive 37): findSplit has cyclomatic complexity 32 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/phase.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4492af4465892c7755fbeee58721a0ed04d42d20585e7c721c4018f0e7cc623c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesAndroidView (cyclomatic 32, cognitive 31): matchesAndroidView has cyclomatic complexity 32 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b9812bdedd8a9daa28b661eacd8a2cdc850329c331eaf316b9894441b3b007"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderFailureSummary (cyclomatic 32, cognitive 30): renderFailureSummary has cyclomatic complexity 32 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2525}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa5ece52c4b8634f9b8287bc53f2c9d1cabb7d6a5fafc0bab1d1f8c95512743"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analysisProblem (cyclomatic 32, cognitive 13): analysisProblem has cyclomatic complexity 32 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb9d1a59dcb75b3e49b689f0c4bd5c3341311b943185890ad6d4db63c34eb66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runLiveSurvey (cyclomatic 31, cognitive 45): runLiveSurvey has cyclomatic complexity 31 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/live.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7d16d7777a836fb378b4b91460035abe597779a56a39cad82a865e341e8a00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function App (cyclomatic 31, cognitive 30): App has cyclomatic complexity 31 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af65ca4a3df9641bfdeb2539cfce027884c78b958ce1d53c181bcf2d75cd055"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function phaseOf (cyclomatic 30, cognitive 37): phaseOf has cyclomatic complexity 30 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/phase.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a3f2611297340b14fa9941eb91146362bdb72f80fce82a3ddf3a0ce9844782"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decisionLlmRow (cyclomatic 30, cognitive 27): decisionLlmRow has cyclomatic complexity 30 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc57ed69c4dc840a4e878adafd409f4d9627c0f870fb8eeea23d3a9b32eda2d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 34): (anonymous) has cyclomatic complexity 29 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1815b62280475c45691e5421a26fc1e33fbe80ba25347795741938202418cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TargetPicker (cyclomatic 29, cognitive 31): TargetPicker has cyclomatic complexity 29 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"566bdd0b021faaaf6bed87b121d98c34d166eb8e2a6312b81ca11b72c44d4cd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function propose (cyclomatic 29, cognitive 30): propose has cyclomatic complexity 29 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"72286dc3aff80763591c57d3f6db1387e34fb957a996fc1d2066c231309ecfde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scrubberHtml (cyclomatic 29, cognitive 29): scrubberHtml has cyclomatic complexity 29 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3379}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eddc615796b83ca4555e34b04cb0978ac9d5163fca66f96144ee508bd82fd1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompanionScreen (cyclomatic 29, cognitive 27): CompanionScreen has cyclomatic complexity 29 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd99d910abac8bdb543cd1f925a76aceef69b0daa003432700411f4e6dfd333b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentEventLogRow (cyclomatic 29, cognitive 25): AgentEventLogRow has cyclomatic complexity 29 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2706}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37bbb94b972ac951683033a603b370d37153312415271ecac1694f5fe19fd62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RecordConfigDialog (cyclomatic 29, cognitive 25): RecordConfigDialog has cyclomatic complexity 29 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"b250d889ebb4235d9aac7a3d71b3fc365745ab27ea5ca61d1446932473a89682"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComponentTypeScreen (cyclomatic 29, cognitive 25): ComponentTypeScreen has cyclomatic complexity 29 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"776733d07f1fa079944fe307900abd6feb36dabc234f5c1e71a5dc3f0dd97358"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 25): (anonymous) has cyclomatic complexity 29 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3420}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6d7cb7580c458ae6143cb8e80ae4595e07c381fdebbc1e75c44c7e15ac58ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RunStepsPane (cyclomatic 29, cognitive 23): RunStepsPane has cyclomatic complexity 29 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6987624033440bd471f37c33d7b86ef86c0aed039a37fa2cd6e3fe6ba88e8f47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 40): (anonymous) has cyclomatic complexity 28 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8bb0e93a8b2185f58667b7d0ca3711370036e2552d72873eef59a50a617ee0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComponentRunTab (cyclomatic 28, cognitive 27): ComponentRunTab has cyclomatic complexity 28 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da9d9e2830665d9e8e0dc085432a8bcb7c003a8f444ba4afd120a18589d9ff4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompanionGuidance (cyclomatic 28, cognitive 22): CompanionGuidance has cyclomatic complexity 28 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"75771e5795c4c4787df5ac79f1e95ad5d188ef4629a9c3d3c289f2842448137a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 50): (anonymous) has cyclomatic complexity 27 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/tool.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb99000b34512155dbb35aaded07b1bc22087fd74ca7db6292d46a4cabc153d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function networkFromRows (cyclomatic 27, cognitive 43): networkFromRows has cyclomatic complexity 27 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/parse.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77aa288865c2b0dffb670819cf49b91a08ea552e7cf61970b3dd3a461235a65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRecordingEdit (cyclomatic 27, cognitive 43): applyRecordingEdit has cyclomatic complexity 27 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdf97734773f96969f24f66fb9f3c800be29dc3df4e242ea51042a8ca416a02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 30): (anonymous) has cyclomatic complexity 27 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2d419fae7cc2d365d2f5ecfd368de6bf09cba824e3bc37e89dfd18940ec6dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRunCommand (cyclomatic 27, cognitive 26): buildRunCommand has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runcommand.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ea7e6ca9acc3a478ba39f16e5b88f57a288cc7fbd989430866a6b0647faa67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 26): (anonymous) has cyclomatic complexity 27 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1762}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a37998e17bc99def53112fd9017879bbd2cc40fd2ed72e2df01c215ac331c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NavRail (cyclomatic 27, cognitive 25): NavRail has cyclomatic complexity 27 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"75244571c7652a0b49ac78d048290f4a42023ce634ee5bbc361190451e378639"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TargetDevicePicker (cyclomatic 27, cognitive 18): TargetDevicePicker has cyclomatic complexity 27 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46e2e414ea7dbda671197f355b48e23be24540212d61d5345586abf8116ac95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveText (cyclomatic 27, cognitive 13): resolveText has cyclomatic complexity 27 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/driver-node-detail.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9755dca80bf49dce5ce9099194b4c4937128b908e18b4130ad0934335cf37ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesSelector (cyclomatic 26, cognitive 40): matchesSelector has cyclomatic complexity 26 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7663c62b07b4a0deaa1ae82f7af8920ba6f667802f8582da969227c100cce445"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slimTracerSpans (cyclomatic 26, cognitive 35): slimTracerSpans has cyclomatic complexity 26 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-trace-spans.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9f50d9228170ebcde8023eb9ffb458c6b321a264254628da6bccde3edcbe28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 33): (anonymous) has cyclomatic complexity 26 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"d374ee0586e091056a5ac521f152f9feb9e98de95730c058b912378bf32e4d32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proposeAtPoint (cyclomatic 26, cognitive 28): proposeAtPoint has cyclomatic complexity 26 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfecc56941825f920fe53aa40cd1e7b1965e4d05949c16d01836e56a611b5116"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 26): (anonymous) has cyclomatic complexity 26 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-model.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8afa8698993014563bba986514873d41ff16e0dfaecf6aa46791c7e4286d52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromMeta (cyclomatic 26, cognitive 25): fromMeta has cyclomatic complexity 26 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/context.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ff125d3ed8a6aade212a81ba778f6ea0b706d86ff304378824b38e046cf3df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyTrailRunnerUiCommand (cyclomatic 26, cognitive 25): applyTrailRunnerUiCommand has cyclomatic complexity 26 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab266bd75907566e73ebc0075a9144953f5d2a6da079a22dafc2f84d9d46f4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 25): (anonymous) has cyclomatic complexity 26 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d893f051254cbc924c08c8e8f60e24822394a785cee5accbaa9493bdc73e54e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function timelinePaneView (cyclomatic 26, cognitive 25): timelinePaneView has cyclomatic complexity 26 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2781}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f34f3304c8e58fb9e39a3cca3aa886f60eb8b7a685e2182058938cd7eb5f83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 25): (anonymous) has cyclomatic complexity 26 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4218}}}],"partialFingerprints":{"codehealthFindingId/v1":"db03689ada5ef2053fc5af9c59ab5e98e09b87fb791ab3a6037b192218eaaace"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentTapeCard (cyclomatic 26, cognitive 21): AgentTapeCard has cyclomatic complexity 26 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2269}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d7fc1b527ca535a4a270517c504d4531abaebbbb4af4b201d3ba84039ee595"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Select (cyclomatic 26, cognitive 19): Select has cyclomatic complexity 26 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa21d44bd9b64a344882df71810618fbc5f09b10a36f851ae32d62ff4afdcb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 54): (anonymous) has cyclomatic complexity 25 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"af16336a3e40432ce0dba9f72bf76fae5558b32ebfdfb8686f83bab2714d2a03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function memoryLane (cyclomatic 25, cognitive 39): memoryLane has cyclomatic complexity 25 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f750b40df09fd89f76c33661b458cdd5deba9c670369f367054ba054dfc308"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function screenTexts (cyclomatic 25, cognitive 39): screenTexts has cyclomatic complexity 25 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"9665664f287944121a2083c2a19b72cb5ecf5e04327d4d8b0c7076a116836176"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 36): (anonymous) has cyclomatic complexity 25 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-activity-model.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c8ad3867a31f917f2debedbaa9b756847f1287a1ddd55ff89baa48fdc74701"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trailReplayKeys (cyclomatic 25, cognitive 36): trailReplayKeys has cyclomatic complexity 25 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d12157ce5e58eba19cf1ec945bdebf683c306400145b31d32d93d78bb774c2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildEventStream (cyclomatic 25, cognitive 34): buildEventStream has cyclomatic complexity 25 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31932cd6d3fad6f96031bba3f616739522f710cb4fa0805719a6faf94ee2f00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 30): (anonymous) has cyclomatic complexity 25 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/event-formatters/memory.formatter.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3f3650d81561f708c836298508ea1e8f6f65b58dc9969b03bd85f987d526ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 28): (anonymous) has cyclomatic complexity 25 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"276e18e8929e204eedb094b09c2ca1c5b4bed8869bdd397cd2675342d38a46ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 27): (anonymous) has cyclomatic complexity 25 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-strings.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9521a5ed1fd685688a1c6ce29c1d35b2f5606538d816bbd9d7aad6347def021e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Collapsible (cyclomatic 25, cognitive 24): Collapsible has cyclomatic complexity 25 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"950b10683ba6b251da20bb49355e0dfd43d3076c332072fbf014166a46dd6620"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExternalAgentPromptPanel (cyclomatic 25, cognitive 24): ExternalAgentPromptPanel has cyclomatic complexity 25 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/home.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"52795157055801b248a4c1ea27a5f9a97178d3ed1fd72d8fa39b16e766e5f596"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 23): (anonymous) has cyclomatic complexity 25 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"3734f7e4288f7b9399ca4aa57d8046249a25e67b9068f87b51e2f4be803e4e3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 23): (anonymous) has cyclomatic complexity 25 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":1723}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebdad65e6ffbf7eb8215f49be8df2234a1ce67c65286d348f4531b8923eaad6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 23): (anonymous) has cyclomatic complexity 25 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"249cf2ff71683a495a3cc6e3a3af75b68d7dbc0af189f45c2c6ef30037394a2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function txHeaderHtml (cyclomatic 25, cognitive 23): txHeaderHtml has cyclomatic complexity 25 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8727}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8bfca5d59efafc294052a5da3100e8c26c75755b8a8d75fec67314b8253293"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DemonstrateFlow (cyclomatic 25, cognitive 22): DemonstrateFlow has cyclomatic complexity 25 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d409509c906c0cdbdc3d367c5250e517edfa11a57368be1e6f0e99d90cef7702"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 19): (anonymous) has cyclomatic complexity 25 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2906}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6ad4e0928275be4fb4a0261429f2959cbec56eabdb492989b06b00da3c9b0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompanionReviewAsk (cyclomatic 25, cognitive 18): CompanionReviewAsk has cyclomatic complexity 25 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"02308debe7fdfaa4cb5f84cd6a08797f6aa4561615835beb8ce4f08af5d633c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseFailure (cyclomatic 25, cognitive 17): parseFailure has cyclomatic complexity 25 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2434}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0e336a24a002f63f039b9434c1d1ad86393549adb1d2f953f3ceb67ef911de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 16): (anonymous) has cyclomatic complexity 25 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trace-model.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bcda0f2381c339d372f162d84144ac05d901f89adff90d36ced6d4b25c16f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncVideos (cyclomatic 24, cognitive 37): syncVideos has cyclomatic complexity 24 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99e402593c94970947538ee628484cd32f23970b32db38e394abbd36158a6fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function videoArtifactsFrom (cyclomatic 24, cognitive 35): videoArtifactsFrom has cyclomatic complexity 24 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d84de10bd2cfa85142e0ed74b0a26574317d9858004efc27b28343d9570692"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeBlazeYaml (cyclomatic 24, cognitive 33): mergeBlazeYaml has cyclomatic complexity 24 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5f734dc9f21d21e30e87e6fa1b0fd4cb99a5203e86b429bc89c7a9217482d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function agentToolMeta (cyclomatic 24, cognitive 30): agentToolMeta has cyclomatic complexity 24 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca2a53f6c8b65aa81c88314ac54e18279c7457996c08fda4fd4ad8b3a7f19f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 27): (anonymous) has cyclomatic complexity 24 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7389}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cba0b533919b87910ac79fd68f5b39fe70c6a856b1ec11948d12586c1c55a74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 26): (anonymous) has cyclomatic complexity 24 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40cb9b338786e45d3ee0db159fa806cc262647455d1f120cc1c8fe156c8a019"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 23): (anonymous) has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"90dd8317b2384989d03e28a7c4e4351d1d868268c3a2eb8ee14c779ad78afa1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintMirror (cyclomatic 24, cognitive 23): paintMirror has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b367a2df2b5e5da4f35a9995adff3043e11f1814c5c73a387d73755e652adbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function manyEventSection (cyclomatic 24, cognitive 23): manyEventSection has cyclomatic complexity 24 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7931}}}],"partialFingerprints":{"codehealthFindingId/v1":"04021b2069c1756096b0b184e34edfb7f6fab84d70224cf0d2786fbe7e81180c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SessionRow (cyclomatic 24, cognitive 22): SessionRow has cyclomatic complexity 24 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"803439651278b09e835664c7a60d64e3ab26ed3149e09af85771740e352c236d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PERF_VIEWER (cyclomatic 24, cognitive 21): PERF_VIEWER has cyclomatic complexity 24 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7dc4bc80ec1de68f239a08f7df57e5a40f98988e0ba6c9406b14a69e9eb854"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolReading (cyclomatic 24, cognitive 20): toolReading has cyclomatic complexity 24 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cdfc555c0665f562f95ee3247067c3d77faf3300efc3c04e72f2be80235509"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function valueFor (cyclomatic 24, cognitive 18): valueFor has cyclomatic complexity 24 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e0804c70d5fee5b88cb4829f55132696d52b70851278cacc0a8d04424ce27a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failureMessageHtml (cyclomatic 23, cognitive 44): failureMessageHtml has cyclomatic complexity 23 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2464}}}],"partialFingerprints":{"codehealthFindingId/v1":"3680c51b2ef10e7e47a9149bd7023fed36e4b3ecb44b9094f2e6840afc04e55a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractVisibleStrings (cyclomatic 23, cognitive 37): extractVisibleStrings has cyclomatic complexity 23 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-visible-strings.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a723b38d647268b842e086ba7d9c8603b0f15bbe506439ff49e580814106a297"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 23, cognitive 35): tick has cyclomatic complexity 23 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac2370e975d7a6adf57b5fa51919e4271ad55f175b6046944f5e92e1bee5dd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractPerfSession (cyclomatic 23, cognitive 29): extractPerfSession has cyclomatic complexity 23 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c6d3dfd3bd5bc8ef1aeecfcd7ae202a9a790daf2fcb82d56d8a0b4fd50d7f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function send (cyclomatic 23, cognitive 25): send has cyclomatic complexity 23 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f995cbbc05023000ade660b94edd3d1584231ecb59763f60ed106f97d4faa4fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function networkCallNote (cyclomatic 23, cognitive 22): networkCallNote has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"29155e69b6279add35243851546d99600b2bf7e36c531961669bd4df36379926"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function llmNote (cyclomatic 23, cognitive 20): llmNote has cyclomatic complexity 23 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"9571c2edaa0d8b247339f88cdbee7f90baf75337e924e62557f7dc8e9b2245cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function yamlScalarAt (cyclomatic 22, cognitive 36): yamlScalarAt has cyclomatic complexity 22 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"9716548c408a23ce67c7d2bf8611fd292e692f8d186970bb08c90b466a8b0b13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertToolIntoTrailYaml (cyclomatic 22, cognitive 34): insertToolIntoTrailYaml has cyclomatic complexity 22 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc67163c45ad0299daa2146eb4ef872c6909093a8c87b1102aef2baeba2c671"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function highlightedYaml (cyclomatic 22, cognitive 25): highlightedYaml has cyclomatic complexity 22 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4851}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fe5ef7ada2afe1594fc420c01047a867a255b9ee3094c6c09cfa5f956c5d4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function h (cyclomatic 22, cognitive 22): h has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"438af4c4e38ebd4e39ec55f5eb9add0cfb9a24917424b740341cc33b43ffad9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sessionDisplayName (cyclomatic 22, cognitive 21): sessionDisplayName has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c3628eb644b126b93f391731812a4e23aa2b6de6cd780824ae64d0ec473179"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IntegrationsScreen (cyclomatic 22, cognitive 19): IntegrationsScreen has cyclomatic complexity 22 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/integrations.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f77883a7d61024cacf09f3e03f85fba4f79affff62a1c0ccfd5ba332f1820b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TrailDetailView (cyclomatic 22, cognitive 19): TrailDetailView has cyclomatic complexity 22 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7224cbf702cc24a7996ecbfb97c88b467d80cf2bbe7d2c0cce1af727bdc205"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentRecordStage (cyclomatic 22, cognitive 18): AgentRecordStage has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2770}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aede94921da96bb22db9318c4998f1b69b610c7a410dbed9c0c781f9e3d1729"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onPopstate (cyclomatic 22, cognitive 16): onPopstate has cyclomatic complexity 22 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11090}}}],"partialFingerprints":{"codehealthFindingId/v1":"0535b0beca635840be408efca63b5241c6f4a0ea828f12b36f8ebdd581ec4dec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function navigateTranscript (cyclomatic 22, cognitive 14): navigateTranscript has cyclomatic complexity 22 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8846}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ea70a2671e3535a3ce3b3836d8a56f07ac26e8abf0864bd67878e08747d246"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enrichFromInAppNetworkStreams (cyclomatic 21, cognitive 31): enrichFromInAppNetworkStreams has cyclomatic complexity 21 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/parse.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d40254de6fd6456dc7da8f17e35e217e89981003db0b4104d08e2920aae60e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSteps (cyclomatic 21, cognitive 31): buildSteps has cyclomatic complexity 21 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"6888effd45994d622432ab3f8fc68d8b4c76f1be1f30899a814788da818939d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function center (cyclomatic 21, cognitive 29): center has cyclomatic complexity 21 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9468}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a787ef0c6bf6d82add2987cf567fe15310898a3c9ef01e1b3020303f5bec23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function estimateLlmComp (cyclomatic 21, cognitive 28): estimateLlmComp has cyclomatic complexity 21 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f267102d58a08a1e19ce0376a17ec4b46528dea45d4de70dcdaf360595c0c64b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 26): (anonymous) has cyclomatic complexity 21 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4379}}}],"partialFingerprints":{"codehealthFindingId/v1":"739892dd0bcda9a3fab031852f3edecc358de3898ae9e486d895d0e277ae261d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintInspector (cyclomatic 21, cognitive 26): paintInspector has cyclomatic complexity 21 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9025}}}],"partialFingerprints":{"codehealthFindingId/v1":"333f8fb33bafb5c49883fbf4fbc3bb5a9e934bd61a847447ce83d28f8eeb8b27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 25): (anonymous) has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7e8ebdf29599ae0df04c5bf48bd96b6dbd0518910ceaadcc63e7599e8b0b14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAdhocYaml (cyclomatic 21, cognitive 24): runAdhocYaml has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"047376f2ba943bf022a51a34dbb3dca4e4dd24dd3d43ce22f62a591b0b8699a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StepsMode (cyclomatic 21, cognitive 23): StepsMode has cyclomatic complexity 21 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0aa0157e1640184124b3e605ddd66544d96c56e602d56bd2ba0eddedc4993ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function derivedStreamStatus (cyclomatic 21, cognitive 23): derivedStreamStatus has cyclomatic complexity 21 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"132818fb11c591dbfc335c322882930073a88f7ed9a341f0feae038313351305"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 22): (anonymous) has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de099979f5f524aecb477095dd0bd7cd69575132b3da7c02086355006f6c218"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wireTrailReplay (cyclomatic 21, cognitive 22): wireTrailReplay has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":6341}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ad693690c37fc8505ebcaf4cb8a55210a7176b47c66a4a0caa3a41210469f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 20): (anonymous) has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2b24d23dc2c10df4f1c6fd99921012a6d32a30b08ed828f483575eaeb3837e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function card (cyclomatic 21, cognitive 20): card has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-selectors.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53f2c82a66878b2e5ab288459030e2dd70b04f3b090274a12a1151f4734b2fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function switchWorkspace (cyclomatic 21, cognitive 18): switchWorkspace has cyclomatic complexity 21 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab6f2af26f15d943c54c587ac52d2387a9797aa6ed1e106532c279024b611b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function frameKindFor (cyclomatic 21, cognitive 18): frameKindFor has cyclomatic complexity 21 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-device-frames.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a83df5dc52da6c0bcb7d15312609433649f06be033a0841542798a6c6f89c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slimLog (cyclomatic 21, cognitive 16): slimLog has cyclomatic complexity 21 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-activity-model.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"994ffcb51a96f2a4e97252f8ff285d7a230b3881be241faf9af6d04ca97120ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractToolSpec (cyclomatic 20, cognitive 31): extractToolSpec has cyclomatic complexity 20 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/tools/extract-tool-defs.mjs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"a002020ea545f29d10b4526393d8d2bdc5dba64f4c90c9328463512dd8ac1096"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function literalValueOf (cyclomatic 20, cognitive 28): literalValueOf has cyclomatic complexity 20 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/tools/extract-tool-defs.mjs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c21183590fb4b691cadf856029659ee0a789b1e3dbedf13e7f8700da1881926"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 28): (anonymous) has cyclomatic complexity 20 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a097197a0960d20b67a72eb5655896d75b46a85d50d18d6be239f551d62664"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTrailBundleRows (cyclomatic 20, cognitive 25): buildTrailBundleRows has cyclomatic complexity 20 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-extract.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2503ec65fed6727983055787535d7e96bfb9d1b1fcddbc0c46c8b3350546fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addAction (cyclomatic 20, cognitive 22): addAction has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e47601908e504fba23bbabd8c37fffe47bb4cc2b4c2577b3e0dcbc9d799e7be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeEventPayload (cyclomatic 20, cognitive 21): normalizeEventPayload has cyclomatic complexity 20 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb69c30e13e45dcf5de6052367da56a3e346fdf21a1b9a7d4df200b01498ad0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesIosAxe (cyclomatic 20, cognitive 20): matchesIosAxe has cyclomatic complexity 20 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b11766f6f6223880c13698d1fe115e7bb84881c1de71058a0177f7331f7a000"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesAndroidMaestro (cyclomatic 20, cognitive 19): matchesAndroidMaestro has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d666c16ada7d05486ec489a32ea97bedef0ed5a520cf002d2a945e06a60fa6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentYamlPanel (cyclomatic 20, cognitive 18): AgentYamlPanel has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"f586a71687920e197d9a92bf83203f665210b6f6bad0a11e9ea448f20b6939e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProposalToolRow (cyclomatic 20, cognitive 18): ProposalToolRow has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffc2145fc87d38a4a5057e00641bac7e9d917150e0f367f4fa80af3a2b9c659"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transcriptToolCallYaml (cyclomatic 20, cognitive 17): transcriptToolCallYaml has cyclomatic complexity 20 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6502b4c3206635a0198bd09005da394c435d9bc2f53ee92d75e64e7ababac11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 16): (anonymous) has cyclomatic complexity 20 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b17000e2568b7ffb93586434e988160bfc3725240e788d517e69339c77bb361"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 16): (anonymous) has cyclomatic complexity 20 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b9121bbfe9e22fc1af61b71b5f37edb2e5a082c75ac86d4beb85892664e41d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function query (cyclomatic 20, cognitive 15): query has cyclomatic complexity 20 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/live.test.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7f2f3cb1139e12639ce79954af0b2f9084a516a35aee23048a55b35fa2044c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runnableSteps (cyclomatic 19, cognitive 41): runnableSteps has cyclomatic complexity 19 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb674feab685198c64c9e85325c69bb40c1eb957b075d6ae716907d2a37f121"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadScreenTextFile (cyclomatic 19, cognitive 28): loadScreenTextFile has cyclomatic complexity 19 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/session.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d243bed0065d90e325f12d08dc4a59ea6d00f04fb4d076d45eec6f172a5a805"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assignTraceDevices (cyclomatic 19, cognitive 26): assignTraceDevices has cyclomatic complexity 19 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"422c4938c126af8b7bf4b59543b882814e73222a1d6fdac427f2a74737ae1a41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeTrailDoc (cyclomatic 19, cognitive 23): normalizeTrailDoc has cyclomatic complexity 19 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f71f72eecb3584814ddabecf386311c5abd1330c18881837f146508fd10f768"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applySnapshot (cyclomatic 19, cognitive 22): applySnapshot has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e4195d40b7018f9beea4a6b8998b8f4f162df57b7aed2b07d0aa0370a658d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachMemoryDeltaToResult (cyclomatic 19, cognitive 21): attachMemoryDeltaToResult has cyclomatic complexity 19 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/memory.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3e6f72e43c36a951ebf9168046352b22b885368ef2239232323ba81f0309c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 19, cognitive 21): main has cyclomatic complexity 19 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/snapshot/cli.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"db95bb8576f5939fd865a0436dbb1905ee0f47dbeeb6a80f637abae9354dda69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 20): (anonymous) has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"4279715d19a22522b63ce8e148f40d234a571292fc32e11f6eaf603b825ebba4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 18): (anonymous) has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/commonMain/resources/trails/config/trailmaps/android/tools/android_ensureAppCompiled.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e925ba44b37c4153f115a287ae98314f95d64c1556538a999ee80d3800d016"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decide (cyclomatic 19, cognitive 18): decide has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/follow-run-model.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04748d1e0aed729fa8400e0b6307dd697e3c099515569fca39a16fc79f31c21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 18): (anonymous) has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2494}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ca640970af3f31f05a5566a97602e18af6ab44e072132c38515de355a9d2d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizeToolArgs (cyclomatic 19, cognitive 18): summarizeToolArgs has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"258fc6f422b6bfd161acb49572dc730cc4ddedbf9c4965c65f6c97ebdcb911f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RUN_REPORT_SHELL (cyclomatic 19, cognitive 18): RUN_REPORT_SHELL has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae68d1cf83875f158d64842922dfe6cd30c5f5a0006ed80e9ef884008f456c7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function kidRow (cyclomatic 19, cognitive 18): kidRow has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3562}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a7623bf0d914948f69ef71fc90288fff2399d92446b26418ac7fbf62144822"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function survey (cyclomatic 19, cognitive 17): survey has cyclomatic complexity 19 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/survey.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"986b1865570362a55bf6018ce499dc0a01e0647e6ae8a9b5ec6e72f4c5f84139"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeSummary (cyclomatic 19, cognitive 17): normalizeSummary has cyclomatic complexity 19 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fd17def3c5d5adb9191243e45acea95fbef93b86423febe744776665e86c19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UnifiedStepsBoard (cyclomatic 19, cognitive 17): UnifiedStepsBoard has cyclomatic complexity 19 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea3a74fa33f61a62ed4928c64f4128a343995ff4c4efb3057288c9cc5e5a336"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tapSelectorMeta (cyclomatic 19, cognitive 9): tapSelectorMeta has cyclomatic complexity 19 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2358}}}],"partialFingerprints":{"codehealthFindingId/v1":"05acecbaaf8267813feee74d71b8806e1fc56d8761cbe3a37b9eadfdf226dc36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintScreens (cyclomatic 18, cognitive 31): paintScreens has cyclomatic complexity 18 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b16284dfc131de0744210181a280f96ff294c97708827995d7ab14d2e47938b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 29): (anonymous) has cyclomatic complexity 18 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"b516d4aec49dd2b8235974f34d970c9dbd78404d868362d1ba946cb3f1363143"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildReplayTimeline (cyclomatic 18, cognitive 29): buildReplayTimeline has cyclomatic complexity 18 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fb90825f32f64ce783ed00e624030d53a7bcffe9e3312d6768d91b42f29df7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grabClipFrames (cyclomatic 18, cognitive 24): grabClipFrames has cyclomatic complexity 18 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-strings-frames.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"67341d78ad0f2b3de9e92b78dc677e55cf78bff73d9d8208d28b4827a4ec5b1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function actionMark (cyclomatic 18, cognitive 20): actionMark has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5af9e35289236a35fe0dc53c908ca105bf7cb584010adbb3e2b10d94039a6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function eventDetail (cyclomatic 18, cognitive 20): eventDetail has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"7149f575578b452787b2584820cf65ae666d38edc9a1604e26613c76881d28e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function seedPrompt (cyclomatic 18, cognitive 18): seedPrompt has cyclomatic complexity 18 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b7c2555905a258efee3a9386413325d16e53624957b333753bc880ce08b613"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function legacyTrailheadToUnified (cyclomatic 18, cognitive 18): legacyTrailheadToUnified has cyclomatic complexity 18 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da91045406901a55242bf37a629d5cacb5cd1688f8d162584452c222ac035e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function eventStream (cyclomatic 18, cognitive 17): eventStream has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stream.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7df1f7d8b539a38f1140d2f5d5d2ab85ea956333e4853f0628dba9ae2e12110"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 17): (anonymous) has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"596a10a8afb19e35fef88a66bb509d99518db162768f4106c12c4017bc554981"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanMark (cyclomatic 18, cognitive 17): cleanMark has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eca47f42221541f75affd0b9b9fa9033f97d6bac6efdc787ab6e17379ad3a30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 17): (anonymous) has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4017}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d5f9409910ca141a1075f1dea447e4ee9250b1a460be60846aa3388d40f509"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectorFromYaml (cyclomatic 18, cognitive 16): selectorFromYaml has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/waypoints.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35e0b75d7de0925c3c2931e4a15061bd5e7a932c74367ef4666b692a18be389"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DemoVerifiedPanel (cyclomatic 18, cognitive 16): DemoVerifiedPanel has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"27929b0c8fe00258c18e5ef50eb64bbb36ef4c6eb4b6dcedd6b13e68fb1f451b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function actionLabel (cyclomatic 18, cognitive 16): actionLabel has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd08511cd6ed235563b2f2a59397a1c7d730a221391c5d621d4550586dfe0c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachmentBodyHtml (cyclomatic 18, cognitive 16): attachmentBodyHtml has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a398bff97a68fa66cc576a6d403bea8ad91f28b3f0390903726e5b49c214d2b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DeviceConsoleScreen (cyclomatic 18, cognitive 15): DeviceConsoleScreen has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4de58395d7aa2fd76515a6d190c29b232b773627d26a4bf5d437e81716f07ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function highlightSpans (cyclomatic 18, cognitive 15): highlightSpans has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcc803474366aab8b1c737399b2230a2a869feaf2de92c12e80be4105b3efd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 14): (anonymous) has cyclomatic complexity 18 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"66335e25c25a6169563a5d9d5d97e4a2403ce5d46be44a681cb44f2098332528"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startFallback (cyclomatic 17, cognitive 27): startFallback has cyclomatic complexity 17 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c3fd68d0f6c583826747dc34cd92a18e91904380f460f37b9a4bd7965850a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectorModel (cyclomatic 17, cognitive 24): inspectorModel has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-inspector.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e4745b85f24f89ead509a5c49c7bd9751715be34949c8e94292d9e585de6ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onInspectorClick (cyclomatic 17, cognitive 23): onInspectorClick has cyclomatic complexity 17 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9343}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5853790f35f8f395160abc544f6471fcbc3f760cdec07f9b477d1deb35d222d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fragmentToStep (cyclomatic 17, cognitive 21): fragmentToStep has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"078c5c5de4bdefac693f4e43cea0c1cb8314721b3bc2aa441a39059b28eadc33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 21): (anonymous) has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3308f598cca7bb105797a2cbf99cdfc588c7bcc6a962a061871a7db7ebf90c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function derivedLanes (cyclomatic 17, cognitive 20): derivedLanes has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"0846a2c359e7e9e851b368546358c4726d30cc9922151828f27de8255f2b67c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 20): (anonymous) has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e38ded7adf4caa8fd45fe793888d726ef50291dd13761e95f419fcb31e2880"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyticsFrom (cyclomatic 17, cognitive 19): analyticsFrom has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/parse.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"220b399d1c809ff29ff59cccf2ab64b7be5d9d8ffdfcad73faa4b56991409506"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchDerivedStreams (cyclomatic 17, cognitive 19): fetchDerivedStreams has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6055e02d8cd5ef3594cd13dbde82aa8720c132d43d5fbdf839a7522d6ab8c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blaze (cyclomatic 17, cognitive 19): blaze has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"90377d5f423cb2f1fee84016a1c08310040184ed8fdb40509bb43749f802cd49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectAttachments (cyclomatic 17, cognitive 18): collectAttachments has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b7811052c55047a02f207bba5b47d3c4e92dd462cba3c397dfa959f2ac1060"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nodeBounds (cyclomatic 17, cognitive 18): nodeBounds has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-inspector.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbc0e630084a179587dc7f7df0b8d1b81fcef040ce2dce6e88afe42e92c98d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function playTimeline (cyclomatic 17, cognitive 17): playTimeline has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9870}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c7d782aa37b61294045de36483f7e784acee76f1e0944b71b53d85a682750c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function contentDiffBlock (cyclomatic 17, cognitive 16): contentDiffBlock has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7744}}}],"partialFingerprints":{"codehealthFindingId/v1":"d136296b6dfe4a2eae06c901dc31472f5012b2c306f96232696b5fac2fd81c3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 16): (anonymous) has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7881}}}],"partialFingerprints":{"codehealthFindingId/v1":"af02a4493e9619edfb5a4064fa19ea37bdfc0673d94c9cc426c34ff5885191f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 15): (anonymous) has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82d50ee4db1273ff534b6484225377a2458cb27431ef75e4777713f47676c74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function httpEvent (cyclomatic 17, cognitive 15): httpEvent has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"890a55500878f24bbfee46dec4e979e5fc885271c2bfb33bf74a783d500aa11e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 14): (anonymous) has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cec43c47bf00bc5e2665203bae553ce06f2a1181940987b447f88a41f9ba5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentTrailRail (cyclomatic 17, cognitive 14): AgentTrailRail has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa93cd042865ead9effaab4f9525bf14ead0cfb6f809f5adb7a17bf6e82a75f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveSteps (cyclomatic 17, cognitive 12): saveSteps has cyclomatic complexity 17 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81743561abafe3b2daeb5699ca78c95feafabfbfee4a7d03b82d4dda85ba1fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAttachments (cyclomatic 16, cognitive 23): readAttachments has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c816beb94e95df1c90b7ecaf8def3ae7402f4b63d7208446e8fd8d90ff8a38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 22): (anonymous) has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":6849}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf1e82691169f8fcf0d1abe93d5ae6c197a7aec8f034a4e26eb59eb4a856407"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onStagePointerUp (cyclomatic 16, cognitive 21): onStagePointerUp has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2828}}}],"partialFingerprints":{"codehealthFindingId/v1":"5885317c67390d4a3c1fd75baab8a602a572f75502d9e7ca99c726b7c8fbbe42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function firstBranch (cyclomatic 16, cognitive 21): firstBranch has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"232484002ad8966e0af46514e0b71ddd8041261b7cfdadc57cbc39bca55fa54c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openShotFrame (cyclomatic 16, cognitive 21): openShotFrame has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8529}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa802e36c842837d822414f6de5992b7d8c74230f4890a1470b94d103603291"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function driverActionsAfterTheirTool (cyclomatic 16, cognitive 20): driverActionsAfterTheirTool has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5a4975424360416cbcb9aea8ba8104b99dff8dd88d8af0ebb36d0f0ae3c926"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build (cyclomatic 16, cognitive 19): build has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e8b80f10e85761bcb5ea523808f17b65216bd374eb39cac8bf8ac8856109ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 19): (anonymous) has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85b74893c7045bfff2c6322111ae9637548b0cedef2e67757607503df5257e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 19): (anonymous) has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cae1ec4247bfa2f6abb3192873bd7a93f802bed806c9e7a8295e7e6e9fc05b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderMarkdown (cyclomatic 16, cognitive 18): renderMarkdown has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/report.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"338017c9da034ee240fc1c39ad36a86a7f1217f2472947b516e53edcfd6a818d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectorOf (cyclomatic 16, cognitive 18): selectorOf has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a091879fb6ce4b6a3aa43609f67302c8ea3ae8b0a8d34d2048377f2c129f9e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDiagnosis (cyclomatic 16, cognitive 18): buildDiagnosis has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13851ee2942b63289cb7eaf3489e8d49c1bec51ac7848ed738626e2fb3c0cb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function revealSelectedNode (cyclomatic 16, cognitive 17): revealSelectedNode has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9262}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8cd5d8a2a07ab252713e7349a1926265276484011e96c5185be13f4109b20f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function send (cyclomatic 16, cognitive 16): send has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc72a0c4e5544235e437f4a45e194d7f8261d2f5db30c824ab07944e9b76e6e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 16): (anonymous) has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/event-formatters/crash.formatter.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d489253fae3239621a330b9c44e4ba9e48cbf59b267b855bf7bcf76ed8ebf202"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateInspectorSuggestions (cyclomatic 16, cognitive 16): updateInspectorSuggestions has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9176}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c520e5f8d8a4508193324e331c4df144f4cec0488bc159becef2095d15d9fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DeviceToggleRow (cyclomatic 16, cognitive 15): DeviceToggleRow has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f8ab4ce50f9d5811a91c8f5cf8b20ef3fc39478e434e9280df81d476eff556"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transcriptToolResultDisplay (cyclomatic 16, cognitive 15): transcriptToolResultDisplay has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"49832e95a65a481cd2c256f41232de74c449401117bf589f73bd1b8236bff87f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderCell (cyclomatic 16, cognitive 15): renderCell has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":5472}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe56e88841c7ae2d5bd7281fb4667130bd4c8af251f321cb33d4a22beffcd3a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function streamInspector (cyclomatic 16, cognitive 15): streamInspector has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7809}}}],"partialFingerprints":{"codehealthFindingId/v1":"836a36a87170de371f903e9145c9dc7024b06dbc2cce6059e380db08f2cf79e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 14): (anonymous) has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-hooks.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9f24c1e7bcd8098ac366a2bac2a86f95d0d8a3e5efc98f61cec4c6b21e6860"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SelectorRegexEditor (cyclomatic 16, cognitive 14): SelectorRegexEditor has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2082}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea6155c54dbe25cd3fbd99caa41769adb28d3a7b428ca842f70e4bdd5bf204b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 14): (anonymous) has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ee905c54d81211d5dd02387fcd3dfb6f2ec88e0d6e1600046b0293b535b0d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function labelScalar (cyclomatic 16, cognitive 14): labelScalar has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-model.js"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b206061716c9053185d01159d7ae52c21049e8b2ee3b8646c43b059d0e6a562"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeEventLine (cyclomatic 16, cognitive 14): decodeEventLine has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"78aa5d81e81bdb873bad5bc204808dce5617a104d3dea57b39d781d3c638011b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderTrailToolbar (cyclomatic 16, cognitive 14): renderTrailToolbar has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7228}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f933dbf11df610d4c65e521c0c5cab27d1c683c6a48b83d94f099df2fa0682b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TrailImplementationsBoard (cyclomatic 16, cognitive 13): TrailImplementationsBoard has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e64b5773ca9ce6cc49c89e5b7877443330d8d66d33573fac228ea306c66bef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveFormatterModule (cyclomatic 16, cognitive 13): resolveFormatterModule has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"75da1f25a875377fa8dc8ead83fb1d6bb28e456d3b1a7bf35743a214d314b4e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analysisSubject (cyclomatic 16, cognitive 13): analysisSubject has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2b28e914693c9436d83f5e6b0d2d7ee88691ae035958724141d8a2d4ddefa4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stepIcon (cyclomatic 16, cognitive 12): stepIcon has cyclomatic complexity 16 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2413}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccda2d106a19c01e3236bfbf69ad8822e17b3a8824e147dfba50178d9d0631b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderStepMode (cyclomatic 16, cognitive 12): renderStepMode has cyclomatic complexity 16 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7896}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b674e5c04077a7b0a9e316d205a48889b3f9a163ceb47c3c341b7172fc63f36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesDriverDetail (cyclomatic 16, cognitive 11): matchesDriverDetail has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd7db907e5764bbb9dc7d5f60ba43269f6a64c05552eb3307e2fcfe911826bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scan (cyclomatic 16, cognitive 11): scan has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/live-filter.test.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e45d4b94cc4d6a02753fe0a62a58a69d5d66a912100e1ed1c03b764d4a77b13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentConversationColumn (cyclomatic 16, cognitive 11): AgentConversationColumn has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09fb7cff387a678f2bf9c0ff48f5725bfc55984903b9fa3cba3346ded423fe4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDexoptState (cyclomatic 15, cognitive 27): parseDexoptState has cyclomatic complexity 15 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/commonMain/resources/trails/config/trailmaps/android/tools/android_ensureAppCompiled.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a20f68a7b4868d6317935ac878439a17359451b772ae532340955dcbe7b706e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureNoticesLane (cyclomatic 15, cognitive 27): captureNoticesLane has cyclomatic complexity 15 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4058166f550e4c1b5481923e812c2fa6291be33d7ab6d30cd62d530403cff9f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readFor (cyclomatic 15, cognitive 25): readFor has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/live-plan.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9183553408d4deb9a9d08f218385a904b974f41e4998f208d6009c085fade02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 24): (anonymous) has cyclomatic complexity 15 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c4400a03cb5d9f758097e3192c520013a3db4d5e9be660da621432626ea768"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drainFiltered (cyclomatic 15, cognitive 23): drainFiltered has cyclomatic complexity 15 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/live.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea6d91500cd733c72ce3e3b09781cbe94a01c70fc0fd09df3d8828eb5900b0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTrailhead (cyclomatic 15, cognitive 19): parseTrailhead has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eeaa8b732dde2b6e9021de6c729aea01e40bdb1a5c0aeb66c5d60fcaf75ceb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scaffoldArgs (cyclomatic 15, cognitive 19): scaffoldArgs has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad9cab3df228d71ac7b6a90279448a1f3a00ba65f8a21c5f554a303e5d73b0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPlaybackSchedule (cyclomatic 15, cognitive 19): buildPlaybackSchedule has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-playback.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41248e4bb79dd598339fd7e11e893b8ddf5a335c6c361ee0ebce96de7aab023"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderSession (cyclomatic 15, cognitive 18): renderSession has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/report.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c52435a244c68b7c196dee9001c097a03d2ab521a23edcce19ae5fd56ea169f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBodyWithinLimit (cyclomatic 15, cognitive 18): readBodyWithinLimit has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"355c679d819dd4ddd3d34f8b20380f4a17dc1c0210fee0f7be0f69309816ea51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 18): (anonymous) has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4290}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff2ca62f651adbe305bd85179635a9db4b0afc563edfd7fe951c9e2b0a798b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 17): (anonymous) has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2325941b945ff951d8300866b618c77fca5232196815e527b58214faa3dd225"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function soloReading (cyclomatic 15, cognitive 16): soloReading has cyclomatic complexity 15 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3bc172b454a0c45168b1dc900abbd0af91512e87c2054eba8c5aad2375a891"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed12cf93147a374fd611d8971fe3475054a80f0c5cf7ef392b321652462f1fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcc23630d373e047d901ac9f3f791a7feb2f935e4d747f5adfa8187befe3d57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderIndexHeader (cyclomatic 15, cognitive 15): renderIndexHeader has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":5174}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc4cce2818ef86b9cdf95cca2b62cbfd5d5963c472a2e906ba01206f7a94b05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesWeb (cyclomatic 15, cognitive 14): matchesWeb has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4f76c0be4db2e552771f9f181a7b670500515edd9d0456c466f7e41e5c3a45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function launchRetry (cyclomatic 15, cognitive 14): launchRetry has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"4532f49c26d139cd2f101a9e0a1365dcc9f763bb0e349c975d40ac502418c469"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentTrailOutputCard (cyclomatic 15, cognitive 14): AgentTrailOutputCard has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2318}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecf305aaa48afc782de2960ffad270e935b4ddf6bca7bc3d6a9e46746642994"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4f2726d86910fa8f8414fff6788e52be6119d440edc5cf0572ac78274eeb8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HistoryGroupHeader (cyclomatic 15, cognitive 14): HistoryGroupHeader has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b807ff37f8530b519e0faffcd604485e6a4ef9f3d4b6e222d34e2e5bc6f180"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTools (cyclomatic 15, cognitive 14): runTools has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"d065795b3888719336ba7637f0d6e89f4cb56cead33cc1faf2e01756c5bee6f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExternalAgentsScreen (cyclomatic 15, cognitive 13): ExternalAgentsScreen has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2637a5525994d598198a87d14bd8f90ff5652dac87b93f10af64968cfee2a05b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 13): (anonymous) has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"566cfe7def1af765f3dabacfc6d9ca0b62865472a308d0944abcfb22cdc4350e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OptionRow (cyclomatic 15, cognitive 13): OptionRow has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c8a44f440c9909a14b3fc18fbef66ffe6c3e1ae7babc5d3b6844bb1925481c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 13): (anonymous) has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3348}}}],"partialFingerprints":{"codehealthFindingId/v1":"e662b649c91d41750a8c41c7c28112cd7bdf8342f4ab91db13de3fec9daa164f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SaveBackBanner (cyclomatic 15, cognitive 12): SaveBackBanner has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c7adb1ad875920712a92c137eecfcd7e7f3a09d5cbc2acb108c8c4c7967446"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 12): (anonymous) has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"779a7df7a7fe450a15ba84d14b13e7f0f866146abd363683afcc2929b9c5b6b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeRoute (cyclomatic 15, cognitive 12): writeRoute has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2241}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb56772921dd1e5d0af8ac09fb1b3c4d654765641cf6a3f9d95ee37454f9a5cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseWebm (cyclomatic 15, cognitive 11): parseWebm has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86025b9fefd4550f676a8956ad4c51acc7e14217db8f9e7ffea636a944f54c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function previewAt (cyclomatic 15, cognitive 11): previewAt has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"145086a3b8bb734f24b4759eed1083adeca3bbd0c5408ed6c792cf6e374079c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analysisManifest (cyclomatic 15, cognitive 10): analysisManifest has cyclomatic complexity 15 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd1f9343defcb8fbbff9b36dc5e22c74a05ea4558bb9392392da669fb70a6e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadYamlWaypoints (cyclomatic 14, cognitive 25): loadYamlWaypoints has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/waypoints.ts"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23ca96b211d7300cea6b634b73fb79895db360f5a9101885d37eef80d0964ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function variantClassifier (cyclomatic 14, cognitive 22): variantClassifier has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcdb9054b057d47d7dbf0914c809ef52718a8702e3f1050c60bdbf8a4d840e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseLlmResponse (cyclomatic 14, cognitive 21): parseLlmResponse has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b895389cbabfbf8b8bf67fda54e11507e3ec7be042646f8ddaec3894318611"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runWarningsFromSurveys (cyclomatic 14, cognitive 19): runWarningsFromSurveys has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-warnings.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41da9172d804cd2cc640e1b9db98babd3b4a9013df07dfe14572f76089a6f77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 14, cognitive 18): walk has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stored.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee9690381d6c34bf97f8cf43ee26bce106b97411da19477787b5eb97a310441"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRecordedTrailYaml (cyclomatic 14, cognitive 18): buildRecordedTrailYaml has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d43f6683f2ea586cc74689218069c013d93ba5050c2f22c9b7154b76a492de4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function txMsgHtml (cyclomatic 14, cognitive 18): txMsgHtml has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3858}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3718c23a792f9c736c17cd78baa62ad9b8108f6cec9d2c019ba4d4442e5202"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachTrailheadReportToResult (cyclomatic 14, cognitive 16): attachTrailheadReportToResult has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/trailhead.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8658eb9d8a5fc2d4741202d7fdc0cdf14cee06cbcc705a45211cfc346c8e9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openTab (cyclomatic 14, cognitive 16): openTab has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8189}}}],"partialFingerprints":{"codehealthFindingId/v1":"94377c5a0b49ae0c27ab266bb56fce90a685064397d2285fb5009b4b408aa668"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callTool (cyclomatic 14, cognitive 15): callTool has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/tools/in-process-wrapper-template.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9523686dbc35b5ed02cdf907903e894a5fa1dfdba132fb3e8b4188c783c6bff9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7143979aadc77e899e82d87938be080c090d561aff5bcfa81780ca71fd98ea5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"576f1e615af8fb7b6c530a28fe22661c41cd7e686b026fd76438e77e0572c6c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trailCellHtml (cyclomatic 14, cognitive 14): trailCellHtml has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":5911}}}],"partialFingerprints":{"codehealthFindingId/v1":"6283b1c8c9a0d1a274a36a95b62f4b7484d0efd42a61f5e31e4b820d07bf665f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mountActiveTab (cyclomatic 14, cognitive 14): mountActiveTab has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8154}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2cf3e4ec036369bcbb90dd1661b6afc6bd7f705da3aabfb3d53f2f41c72b63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesIosMaestro (cyclomatic 14, cognitive 13): matchesIosMaestro has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a1ce400c012fb953a427d45df5cc9664aa5220fdd190b7723cb3a3bb0e9edc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchNetwork (cyclomatic 14, cognitive 13): matchNetwork has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/match.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0e3ca3a1f640ec481d2ba6c728b32a3702eed222483e094226f1a715b003ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRunDevice (cyclomatic 14, cognitive 13): resolveRunDevice has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea626393547606f8776cb4107abedce93b0047d8d7da498871b3a91514c2517"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TrailEditor (cyclomatic 14, cognitive 13): TrailEditor has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d944f7e50e86193bd095d46eecaf4d3f1f7e8a4a51d52ce16d6c2a3271f5a961"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3263481168f6805747019088d72c6b38419752b963b1434a961b4db272ba06f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unifiedDocToMatrix (cyclomatic 14, cognitive 13): unifiedDocToMatrix has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-model.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c062f7573df122bd50b0ab1d55b4614fdd83d96b0016925fa4f54a98d373a9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"475c5f57c000645c77873a3a0ed63a8e46682d6466f06535053bb4b0de95d84b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readNetworkLog (cyclomatic 14, cognitive 13): readNetworkLog has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8d8cb5cc410b735c126241686a753a64d00863141968baba95f07edb816486"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f274b283601e113a3048c0806aea718a1a36811411d5f6984324295b7193339"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolNote (cyclomatic 14, cognitive 13): toolNote has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15d5288940f344b575482eaec20e121d0b44ff5c8b67a866d17048218efd85d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tableRowHtml (cyclomatic 14, cognitive 13): tableRowHtml has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4043}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c38750f73bbd2f784896c40c8d5ced7838b90b6873e51608f7af57ba320631"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IntegrationCard (cyclomatic 14, cognitive 12): IntegrationCard has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/integrations.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd1ba5f42ba8446e0e014990e9461d296ceb442726387b989677f17f43a9a29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 12): (anonymous) has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce9eb9af3a4b2013060be4f5afd814fe4cba212fb3ec32f37a7c7bd61b50ad4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolSourceEditor (cyclomatic 14, cognitive 12): ToolSourceEditor has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6276265ad77d317b45292c57009e2f29234b9dc8d03278325e74e672804ab6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function closeTranscript (cyclomatic 14, cognitive 12): closeTranscript has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd23191f93fcdea7fb5db689a51e930e5830f26419999ed9e196eef387757253"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listNavKeyDown (cyclomatic 14, cognitive 11): listNavKeyDown has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"063e041f6ce003ee3e41e70446a52fe7430c6bf68c618d1242a3933b8e58d03f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TargetSection (cyclomatic 14, cognitive 10): TargetSection has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7260b889acaeee7c37d6ff8f9f297a86e80ae2a009ec0b1642e4ddf14e9ba7cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreTranscriptControlFocus (cyclomatic 14, cognitive 10): restoreTranscriptControlFocus has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8805}}}],"partialFingerprints":{"codehealthFindingId/v1":"345410af521664f463c722762cb32cdd17a2f078480e67ef50050b79ba1ea9ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSurveyModules (cyclomatic 13, cognitive 27): loadSurveyModules has cyclomatic complexity 13 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff89e7cd1646c19c9e2af10ee381e69984a8aa7cecf45ffefbd10b91d63982d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyYamlOverrides (cyclomatic 13, cognitive 24): applyYamlOverrides has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runcommand.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"786d282213967ab10d0088bf3680111f3ba803620260f9cbed6bdb5d9604dae3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 20): (anonymous) has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7f7a7e3efa53fbc1db68e91b20a02f2ae0a84b0af15a6a9d6250f321472bd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadScreenText (cyclomatic 13, cognitive 19): loadScreenText has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/session.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"c876e6d3fca33efe0cd38e080c7dacb1f99384b37542e12d7db09152144f135a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function merged (cyclomatic 13, cognitive 19): merged has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stored.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"93684c5df85df581197e8625f4d533d19e78a8c1dbe64845508711eca903b5b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unreadableSpecGates (cyclomatic 13, cognitive 19): unreadableSpecGates has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/tools/extract-tool-defs.mjs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f89a66930524120f173fa3e26e9924ada480f421bba63232d7e36c73ed59f46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 18): (anonymous) 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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"357a6cdd13817ef0b53eb9ccc6a3af4a1b22b9d3ee9002ac0d54a5461279088f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openAttachment (cyclomatic 13, cognitive 18): openAttachment 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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3242}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e5581122640066e9d70e47be9deb6d20577e80982d956a620a378a0c3194b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adhocLint (cyclomatic 13, cognitive 15): adhocLint has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"76699e618925e92b7eaceec515cc94265dab5881a45118dd31923027ef401582"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildReportTraceModel (cyclomatic 13, cognitive 15): buildReportTraceModel has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trace-model.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4589994af314bda5cb7aa743003e70cf0b4e6b61f6eb5a237c15cfe0ad44cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgText (cyclomatic 13, cognitive 14): parseArgText has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2043}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bc845ed0c9f156dcd612905279dd07d39429b34cafde50dbbf6fbcaf26b81c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTrailSteps (cyclomatic 13, cognitive 14): parseTrailSteps has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e686c7426226c8e0c54b2ebe090b89a3d196b99239c4189dea6fcf53f509c93b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"44597fff833c1e5437825a92b264e652281d9bdd0f75e71dd42cbb53e7a3a8f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insetAt (cyclomatic 13, cognitive 14): insetAt has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"72516b273f830310659420038e32d33400a38f528c3c4edcfd548e01ee204ef9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sync (cyclomatic 13, cognitive 14): sync has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b630f1fcb3584d8bdcc709d20005c25da4ad90ace0abf8a707cf82f9d096669"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildExportSchedule (cyclomatic 13, cognitive 13): buildExportSchedule has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-playback.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad496e5a4c70df7ca3987cbd2e1c137a16bd932620c0ed02191256db7616937a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function disposeViewerGlobals (cyclomatic 13, cognitive 13): disposeViewerGlobals has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11145}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b476fc80baa80b1623d867ed518fbd79fe04856aa0de3ff8150f0b919da8a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolDocPopover (cyclomatic 13, cognitive 12): ToolDocPopover has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"c075a399ba39b9118bab5db3fa7d942cf30bee03a4fc771debb0b3c1a52e1126"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"872d29e73e9d244e6912b08deb5a9289abd43384ecd2adffaf1872474750396e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function yamlScalar (cyclomatic 13, cognitive 12): yamlScalar has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console-model.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6aa611bfd25fcbb58cdbbbb35f9422c8bffd6d472f96c5e2a5a768fefd3da59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityStep (cyclomatic 13, cognitive 12): ActivityStep has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b161218077a4c397f1cdd22cf9e364e360495f4d2a88c6d3fc9f6e33195f67a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentTrailTapePanel (cyclomatic 13, cognitive 12): AgentTrailTapePanel has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"c213099efd8a18ebded7810e375fdbd1f73c0d9675ec32adaceb4a3e269cc2e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentPermissionBar (cyclomatic 13, cognitive 12): AgentPermissionBar has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"85867e6de9127d17fd9042ad2e67dd590e1da01b7c749a772e078b33e183777e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceBody (cyclomatic 13, cognitive 12): WorkspaceBody has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68a096579d46b111aee7aab0451be8e49d8489818c4387f8dfb6da7c55476de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"1776ce6b4d04c3b018240bf93740e788984f4f9a1de433fbd2bf797d85fdcfdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildMultiReportHtml (cyclomatic 13, cognitive 12): buildMultiReportHtml has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-html.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ac5b8fb5e380f74765879ed2d979ee3be7ff52e808a6ea35019ffface76281"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function focusedProblemHtml (cyclomatic 13, cognitive 12): focusedProblemHtml has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01d58044eba68a8074674d95e0a756168706dd5f15bbfbc7b8d308feb9d8c92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function noteHtml (cyclomatic 13, cognitive 12): noteHtml has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2d3fda9f1ebb9d4b65849b81dd38975201e6d19a805b3cc0c346bf968264f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf40e4a0eed5b0473267b070a7a2cf2d7a773dfe3bbfb093ffb4f3817b86a0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderSelfHealSummary (cyclomatic 13, cognitive 12): renderSelfHealSummary has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2556}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fefa0a2d558f0d49bf0dd16fa9cb57f2f25db84cb78e3968600d95f02756ce4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderLlm (cyclomatic 13, cognitive 12): renderLlm has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3984}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dc4775f800464b89a1eac96e97785fe1922542a3b16e660fec945b5e573ffc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function yamlHighlightTarget (cyclomatic 13, cognitive 12): yamlHighlightTarget has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4837}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1407686095bf90c4c1aa22fffb57388c02dc15f7b6a27914ae5816d72d3ea0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PlatformGlyph (cyclomatic 13, cognitive 11): PlatformGlyph has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2f8721b55952c85fe299a5d7d6e28b8db5e4f671ae8a032fc10d984676ac35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readVideoArtifact (cyclomatic 13, cognitive 11): readVideoArtifact has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"0221595b7013eb6f2799d9fef664eabcd144dbca266ac1c47f702020dcf31d72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boundsAt (cyclomatic 13, cognitive 11): boundsAt has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"d176fc5caae7948e157f739a04ea0fc23fe48dcdc8390a547a2330a4f7137087"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotAt (cyclomatic 13, cognitive 11): snapshotAt has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":1299}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95a73d5e66824843996ced34f7b96a124167d2da5f1b65464f9572e80975aac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function closeInspector (cyclomatic 13, cognitive 11): closeInspector has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8933}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5c1de2c4e40a9319def3fcc0cf64a592835d4827c30c255b8f1cedbe8f077a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function currentEntry (cyclomatic 13, cognitive 10): currentEntry has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stored.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae988e8acce2cb57e27986ca35956c7081781a72a9e2537af6c13bf3ed3e939"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 10): (anonymous) has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-hooks.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"321a9ad22ac3900db0ac6505e1e5d7031c6eb3921e184876c1a6f8aef1e1ddc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diffStream (cyclomatic 13, cognitive 10): diffStream has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2697795406f4bfc7b5b747ad5ee0e6d836f6ce99daec8d1878ece58b7f1c10c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analysisDiagnostic (cyclomatic 13, cognitive 10): analysisDiagnostic has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dc1ac8ff79f5a7b5545caba3b0c8f0b6e5301113489a251b454f4135e89177"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nodeLabel (cyclomatic 13, cognitive 9): nodeLabel has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-inspector.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"57559c5eeab8a9f4146181f20d5faf9cb5817cf87622bc066d33898e7fade27a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchLog (cyclomatic 12, cognitive 24): matchLog has cyclomatic complexity 12 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/match.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f24d351300b9cd81146138da742cbed4a38d551a3f4eb507ccad8d7d378278c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectTrailblazeAliases (cyclomatic 12, cognitive 23): collectTrailblazeAliases has cyclomatic complexity 12 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/tools/extract-tool-defs.mjs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8177e70c59f64344bd9804fe5dc94e90168b37df3662e503c9202f4cfe047f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function layoutBand (cyclomatic 12, cognitive 23): layoutBand has cyclomatic complexity 12 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d45097de7fe5bfd0b7f204c873bf95bc8acb0fbcaef3cb0c3aef5d1f1a75a1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 21): (anonymous) has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-model.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fb237ea2c405a04176739c67df57748234fbe28adf1d6f809049edbdfc03a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildOut (cyclomatic 12, cognitive 20): buildOut has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c387f69d06f8748b476bcb371477bc489e7b4d02723091cd22fab2821f2550c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 12, cognitive 19): walk has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead094215ce8c8fe8fde3441d440dd381b5f4de86affc4da98128b6ee5bb671a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toDisplayPair (cyclomatic 12, cognitive 19): toDisplayPair has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f01bc4953e08a2eb9534bb7198af3ab65e199e7534c1069a84283b76ae500e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scalar (cyclomatic 12, cognitive 19): scalar has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d26f934cfdd676d2078ba721bb0856811cc0d660b8bbf1500d958de17212a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 19): (anonymous) has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2994}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef36fa6af0b1ed2b5ce373e86897877f4db412dd1f5f59c68e7b15d02258016"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeStreams (cyclomatic 12, cognitive 18): writeStreams has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/cli-main.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb946918b58ec38a027cab4dafc7be7b7f4db3977638346ad817e433f43c05a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bestSelectorObj (cyclomatic 12, cognitive 18): bestSelectorObj has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"55877150d439e9849bef13c21b3c2e5ec854f52430df74e18e0c171bab0ee6a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderBytes (cyclomatic 12, cognitive 16): renderBytes has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f89c09e0e84949d091669ac23c567ebb66def8efe3f3bb4029ab046f8cfd460"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveStringsSelection (cyclomatic 12, cognitive 16): resolveStringsSelection has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-strings.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2f8c9e3adc22011a4e709437177409be99b96dfb3f9391c17b4df75286bb2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runIfCondition (cyclomatic 12, cognitive 16): runIfCondition has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"d266755a2337bcc3f6b8e753b2ea97adfe72d051b8a71d858527a6f36ca3a395"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function eventLabel (cyclomatic 12, cognitive 16): eventLabel has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e6596bf2d327ed8ff5a8223658a7efe8c0b0ccdedba67508c2c5505c173282"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 15): (anonymous) has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/trailblaze-node.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbf010a1b479e505bf4413683ae63f8d1cee1ce7ce75056fe23281f21ee22b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function countTrailBundles (cyclomatic 12, cognitive 15): countTrailBundles has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-extract.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b90fcf423d6a2a1cc72c39f1d7dde9a81a3693b27b3952c243d4021e4ad51b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAction (cyclomatic 12, cognitive 14): runAction has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/integrations.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c875f03591f4c4eb07e8b1a788102a31f356c3080f5f2fb8cd7df056f42c4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function streamRowSizes (cyclomatic 12, cognitive 14): streamRowSizes has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-perfetto.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf7e15d8b6f7393009a743d6cbc83604b8793d96e2341293674e85649bce4fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 12, cognitive 14): apply has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4652}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b4ba0688273ee8fbe805bc610cc63889d96e132c08879bfc24783cc3bf2df4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-fanout.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe81ce6a38e21fd73d05ee9b7ef36e541ce8939e20ef9688f17a32869027ec14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveCompanionDirectives (cyclomatic 12, cognitive 13): deriveCompanionDirectives has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8cbf31049f22242b70b5d47d8ee25a809e0515ad1c7c4d75319f423471d5eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function changeTool0 (cyclomatic 12, cognitive 13): changeTool0 has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":2297}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af9e01914e4bf7d0c818e21e67ea01f79c8fd2e6aec279a6a2ccfdb363b9e3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function logicalLegs (cyclomatic 12, cognitive 13): logicalLegs has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-model.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3e00e89e01cea0d4acc1cae8781c028dd9c8b7d49626c71583c5c647dcafc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readVideo (cyclomatic 12, cognitive 13): readVideo has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dd613045a1714f567e6c8e6b9bde3f4d7452862768d7bd562fb36912245d22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wireStrings (cyclomatic 12, cognitive 13): wireStrings has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4563}}}],"partialFingerprints":{"codehealthFindingId/v1":"6075c06ae8d770f2dc1379c48992a4c3c66e8139c3aa5d98ca0d6cf1cbce75e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onkeydown (cyclomatic 12, cognitive 13): onkeydown has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9442}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c9fc1572867c02cae5016973ae44286ab23bb0d82283fc40653412381d449f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectTimelineTrackMark (cyclomatic 12, cognitive 13): selectTimelineTrackMark has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9584}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b538bc2e9fc47fe3d5a6b1cc97da720241cdbe7db3b833d553a1c9d7049d8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startDemonstrating (cyclomatic 12, cognitive 12): startDemonstrating has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9468a1e675be6ff5da6f4df5745dccd7783569647490b7ca574b8881936686"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a6378706b9a34cc8776f2dc7782c5c441871076452693e401ad2a972faf58d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4f9d48412bfd2f5f4fa22b8afeeaa77585179deee3b3e12cf0f250cf822ee9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderVideo (cyclomatic 12, cognitive 12): renderVideo has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4765}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25e896a9e31074dd23d487499a451bc8107d219208e9e29155f903c5babfbc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onpointermove (cyclomatic 12, cognitive 12): onpointermove has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":10876}}}],"partialFingerprints":{"codehealthFindingId/v1":"b582fdf52ea8667450ab90702be990ede0d001d09fe7ae2e1c693afc3462acf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildZip (cyclomatic 12, cognitive 12): buildZip has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.test.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a3c153495ad719e215095f961a470cdae9777684db108419a45afd9bab2d62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitUrl (cyclomatic 12, cognitive 11): splitUrl has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/parse.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f660066f0bd9611f5661dc924c1667c69a0b88ce7554b11ac3cb5171c7b35747"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 12, cognitive 11): run has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/phase.test.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"278e234588dd975a29a4fe7fe96171c4ee8f3510919a0c9607b31599e7189063"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adapter (cyclomatic 12, cognitive 11): adapter has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/tool-core.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f082ea736232453043a5d1eb4c4aab0587c2167250b9f193b49bb5081df068"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"13af9936bbd2e9018fa230a5ec4b76d252cf4280977d8276b8fd5b2ae38fb684"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf366d0ea31d1cd505e5e72ea0b5f3166555469fab79c799301511d3aed6861"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runStep (cyclomatic 12, cognitive 11): runStep has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd269b3711fff51db4ad1dca68f54f0f8713f6665eb2d634ab2679faffa8f3ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolSummary (cyclomatic 12, cognitive 11): ToolSummary has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18f03eff4479c1059e9df48960b15d5c594f936ab46d4e6a6db6bf7d951db33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf59b5f9894dc0653295af783beaa6c202cf99d38ea823a84fefbc5f7a4d56dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function show (cyclomatic 12, cognitive 11): show has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28d2fd025b493e173500842c684761e93fa8e6f8e5ed0c4ef3aaea6e8a5bc1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function txRoleLabel (cyclomatic 12, cognitive 11): txRoleLabel has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3830}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a0c3413cdc6ce38ab9e30b7c894318c76f727fe51b1a0e8b6cc37b26f1c24e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visualBody (cyclomatic 12, cognitive 11): visualBody has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8087}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe618fd8f32afc2c4b57f63e42d8e0839d87015d6598615bd8e91a7169b6a5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreTabFocus (cyclomatic 12, cognitive 11): restoreTabFocus has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8236}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e64145e1d87e822a26fe30e51b0a8a6a2c2073196a931b58daa3d26cf5d455b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncInspectorHighlight (cyclomatic 12, cognitive 11): syncInspectorHighlight has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9230}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc14da4ded26f5a314f93ec249da40555038024c3b75db155a56bacf6b341b3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"143aebdd2930c6c6576e1c956a18199c1d3ff695592bf4e952eb3e6aae0e9ccc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentProviderCard (cyclomatic 12, cognitive 10): AgentProviderCard has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/agent-setup.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7feecc77f67ee87df49059101a91116530ba6ac7da6223b467cee8c6c486bcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompanionFolderRail (cyclomatic 12, cognitive 10): CompanionFolderRail has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"c621685f22ffc7282fe4a380dcedaa080f0a700a97ea026393c9979a15e9068c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SettingsScreen (cyclomatic 12, cognitive 10): SettingsScreen has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7143e3733f9b0d959a963b7d0f57bfbac73d6aadbfd2fed0873847a801039be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"895591b1247f597e2ae2162d573d9a37f03408032cf6d89fca2037d846a65245"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 12, cognitive 10): start has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6280b4a41f730f8aafa8459eb9b41d41821fde57fb303ef6e35c86959b07e42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ShareRunModal (cyclomatic 12, cognitive 10): ShareRunModal has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/share-export.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8163e02284d431dffa9fa8d2b692fe5dffe1aad02ce2ba19382af8c06d50e612"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HelpButton (cyclomatic 12, cognitive 10): HelpButton has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7cb9456bb2e1490e8f4ca8eab3087ced04e5bdabee4a409b4355732f73775f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slimEntry (cyclomatic 12, cognitive 10): slimEntry has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-visible-strings.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2363134c72aafba2ddae188e797353000aaed0eb56ba18c90991478ed19c89fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncVideo (cyclomatic 12, cognitive 10): syncVideo has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"799b24bd10dc5e70a9dfd583f82ba177f614109a95795d8655b27301eea7455c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/cli-main.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c15364346cd4458b47b911e384301f997b5e997a4faa884ecd426b301d10b84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SaveAsTrailModal (cyclomatic 12, cognitive 9): SaveAsTrailModal has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcbce98e2db6b5cb0140c99b986dbd3b3278aecac9329799aa8018e37b3afc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachmentRefOf (cyclomatic 12, cognitive 9): attachmentRefOf has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6248c93558d165a3d74618177e93e4e105313e2201dd747c101003cb7b71639e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sessionDisplay (cyclomatic 12, cognitive 9): sessionDisplay has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6125551ffb1297d0d79988466cba78aebf5914c3dffaf5e9fe79f96d51fde9e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sessionEventStreams (cyclomatic 12, cognitive 9): sessionEventStreams has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2a4fa8b38201a64beb1ade4b79c99c72f9b3a36261c3cd78d650883504ad8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectSdkNamedImportAliases (cyclomatic 11, cognitive 18): collectSdkNamedImportAliases has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/tools/extract-tool-defs.mjs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c59547b7195769cead4dc22a67eb3379fcfccefff49957759090e7f2aec833"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function networkNotes (cyclomatic 11, cognitive 18): networkNotes has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"34527a8571ce3c917d7c55b5dab128c89dd505b15e4ab7b403e9ad77775db670"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build (cyclomatic 11, cognitive 17): build has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/live.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7220facb447109135ad11843dc3c67011e2a4ff744c366f1a6b9327fb793a42a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRecordStepTools (cyclomatic 11, cognitive 16): parseRecordStepTools has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb33b6d141757e1ff1ff782e228f617a3eab531a76ad23ce43b6243e195f5e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function alignByLabel (cyclomatic 11, cognitive 16): alignByLabel has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e199ae46aae9efedb4152020a2c113223b6222ca8f193e1a4ab0a4e07f248c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lineDiff (cyclomatic 11, cognitive 16): lineDiff has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1c62cadc4cb74c510c8965f7f7bb3a9b5334aa2f6be8c3f89cd25aa604d8ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spanActions (cyclomatic 11, cognitive 16): spanActions has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"be83195a45dc2d050e54a5fc880c980b77618d45394c100ed295ebd4a65a599d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findWorkspaceConfigDir (cyclomatic 11, cognitive 15): findWorkspaceConfigDir has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/workspace.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a9b261369cb90a766a51469fb83a0d42aab45b19839341c489a7990e40acd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function foldBursts (cyclomatic 11, cognitive 15): foldBursts has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5996ba1b05df8a75cf2721babdf026390ee4078533d5cb342b4276710c8438d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawAxis (cyclomatic 11, cognitive 15): drawAxis has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7117}}}],"partialFingerprints":{"codehealthFindingId/v1":"776ed4a3274823e310386b74011bec9f33ef6a5f6979d1cd21c5282a5be9919d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _onMessage (cyclomatic 11, cognitive 14): _onMessage has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d29461146bb5d45ad7b18f18428707cbc05939aff245ef039b08367a51165e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 11, cognitive 14): tick has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28457e92420f17931dc18a834d3806d55aab556a5812187ad7f5a52a71bb6e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SearchableText (cyclomatic 11, cognitive 14): SearchableText has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"3582316438f1c1db1a6d71a2b3095f00229083cc9d96b863f93bba7c103c4059"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visibleStringsShotFiles (cyclomatic 11, cognitive 14): visibleStringsShotFiles has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-visible-strings.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c558bd3bb0babc80a2da54309fa212225137b07b631f2d66e10bf2ea8f1b47c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":4075}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb57ea7e832437d933fef53f1fbb6772431265c050c2cd63aadf47eea2b24895"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"972568b48de65dea6e97f8e6359818f4a0324580c53506271944e29a0a18de13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleDevice (cyclomatic 11, cognitive 13): toggleDevice has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"179f8219a2a1102892b497802a9425f37fff24e09769c1fb24b42ecba28a6f86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runWarningsFromDerivedStreams (cyclomatic 11, cognitive 13): runWarningsFromDerivedStreams has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-warnings.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a4891ca1e90e1a93da325debf4ca75c33d8a58984b2fd8c1b01ca431d6f4ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chunkElement (cyclomatic 11, cognitive 13): chunkElement has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-core.test.ts"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba83abaac5d4dab4c345d1750c13e45cfe562f4a0959a790a8b0a20587d900c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEventJsonish (cyclomatic 11, cognitive 13): parseEventJsonish has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc08e4dbc1c4adea19dbe0c2b369b584133902b314c933c319f24ad246425624"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectableTimelineIndexFor (cyclomatic 11, cognitive 13): selectableTimelineIndexFor has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f609a335e9a2705967b9847f431da05351e6ee4f429e9ff49d6fb9001c284f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shotForStep (cyclomatic 11, cognitive 13): shotForStep has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2577}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fee0e8e402c6ef69bf1e67c00e17b3a414cf678289373d52a452feaca4c3b37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3019}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9342c3367e30cda008effb2742544e7739f99fa49e4172a82e560892ae55158"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInternal (cyclomatic 11, cognitive 12): resolveInternal has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e51dcddc655db8ccf27b17cc8c479a9a83a6044874b788363d76f41737b934"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function screensOf (cyclomatic 11, cognitive 12): screensOf has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/waypoints.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a60650643ce81dd807a0176521a48da49ad8008721483eb7d658417ae04498"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82223a9939e443be373e28421b20b7611a2e43430917d8421b2a79615862d4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd422fb38450cdca3978126910d03758a8d30ccabdd42aeaa4d408cb4cc1bbe1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeDerivedStreams (cyclomatic 11, cognitive 11): writeDerivedStreams has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stream-write.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aaa049e2b211e170f5723e0351be675eb5dd12ec17338592fd0f7b88de86a8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordGesture (cyclomatic 11, cognitive 11): recordGesture has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29d941d2c8875647d4c885c793b37f37cb83ae2f7f8f2cb29c8efe68a9e64e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKey (cyclomatic 11, cognitive 11): onKey has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f86e286a855ef3e66b901f75776d6fd690bebef78c73f383f2c89d81aacdb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 11, cognitive 11): onmessage has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce6692057acd82d589e00d55383a14fbaee7ff2198cdb9273edfc152b622a09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openNewTrail (cyclomatic 11, cognitive 11): openNewTrail has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"da60d0b404793e68d84a56b50abb0a2d0b714d5ef61576b88a7b021f6c65f7da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 11, cognitive 11): load has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/zip-report.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"78619eb8b1ac014bd9bac8bedc3075329c0c21e3a13f764eba3bdfab9f7b336d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/share-export.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78fed580410d5b0ceb700f938fc6cc87e4d372d96af9a7d713ecd429145cb4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 11, cognitive 11): main has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/perf-report-cli.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ba036a2755ebdd0227ffad35370f120101e29e87783e569ab57083eefa4508"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa55596d1423ec4c0ea45d88151c9c1cf6f4a17836fd255655f3e8695422fe04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function eventSection (cyclomatic 11, cognitive 11): eventSection has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7833}}}],"partialFingerprints":{"codehealthFindingId/v1":"868682b7ccdf55cabc1acecb56c2aafe2ca7f8d0c82fbcc32f1163212e406cf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTarget (cyclomatic 11, cognitive 10): parseTarget has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/context.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc7180040131ae914e0cdb74e2e3bdd667efde0af692ec4bd1f1650d5e76baa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchNode (cyclomatic 11, cognitive 10): matchNode has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/waypoints.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a03056ac6fa4943aa114b2399ca3535a569b5aec66388a829757f187925801"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePreviousRun (cyclomatic 11, cognitive 10): parsePreviousRun has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/trailhead.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4affd3476b3136ee04c323583347f422c6248f4f1cb2b9e4ea7ea45f4e4e6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTeardownResult (cyclomatic 11, cognitive 10): validateTeardownResult has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/trailhead.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1af06cef3b4b0ba65df30f2d1e00bdae8d8a4c078c32d3ac54f5cb6e759f00c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function demoGenerate (cyclomatic 11, cognitive 10): demoGenerate has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"22508904db8935f8daa4e6c6b769b42343cd98f2a8635aeb752e0c2f91808ed1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function defaultDeviceIds (cyclomatic 11, cognitive 10): defaultDeviceIds has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-fanout.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b0ccb98f5d9aa599b957a84fc80a7a618d48605a00f1e5b125174c7ba3215c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchReportEvents (cyclomatic 11, cognitive 10): fetchReportEvents has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad775c271060c13f0bf15cdc703e15759798f7faecdda578c9aa7160c600991"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchSideChannels (cyclomatic 11, cognitive 10): fetchSideChannels has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a8cce1a69085846660380637819a78cdefc292f4ae2ee2594a95ce5cbb92d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentSkillsPanel (cyclomatic 11, cognitive 10): AgentSkillsPanel has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"3073295ae504f0d8f74c6f6f318bd7edae22e84d51da0f4689158cd09f15e0cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52c682f7df89d778a4b2b97ff34858cae422a4df5b3b1d819f46c904954a271"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolUsedBy (cyclomatic 11, cognitive 10): ToolUsedBy has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a22409f9e82d63f4b3929dbb42d6965c4db71751f6cdf949307c68c49cdd0af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"651d9b1a040ff0a4078cab6677c9069e23fb7da47356aa8831c4adbaa789986c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComponentDetail (cyclomatic 11, cognitive 10): ComponentDetail has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20f3e414a814ba991d47617fdbeb61449f49aeff1dbc530eaa5a9109fe996b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function missingFromLiveList (cyclomatic 11, cognitive 10): missingFromLiveList has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda982de79d4239e73410b7205130fb33024ba2addaadee853fc56ba1c5f561f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 11, cognitive 10): main has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee751cc8f31fb3ca3580547cb27aa506d3e4e238d0182d7f42a3b85565adda5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2c73b4b0a92ad1d3a6593a9cc2d451143247ba08d2cbbb7dd89ad696bbd12f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0bfd6600d7f3637c3d6e802020e6fbef0cb516c37e2fd4da3e1ac0d6a7bcf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chunkJsonWithoutRuntimeAttachments (cyclomatic 11, cognitive 10): chunkJsonWithoutRuntimeAttachments has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e798c8c4472d656e9d4372c58ca2b3af7e14907cab359ebb236210ca482740"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handoffLayout (cyclomatic 11, cognitive 10): handoffLayout has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2082d53eebb101e0810677f22c1c45c70143035cf7b7230038bffb5d393c4b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3062}}}],"partialFingerprints":{"codehealthFindingId/v1":"31444c8f8b3a602c4e40ab022824d23908885209a99aeb72b94f4be0d120551f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareRunLabel (cyclomatic 11, cognitive 10): compareRunLabel has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7380}}}],"partialFingerprints":{"codehealthFindingId/v1":"510d9527e1103101d00338ba13b86fc44414f4044ef0c6eb513cb46f142efe0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onclick (cyclomatic 11, cognitive 10): onclick has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8893}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d51f847b5900853c2ca48899a4b8f9a81290c2edc774daa5e5bb28ea8ce843"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cad80de91b20b5f4238e1d26b32e6154ca68fe917bdce97a23cab9992610f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordOffset (cyclomatic 11, cognitive 9): recordOffset has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/phase.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9c6c453ad60e5575742e9dadbd679d6114101ea50309e0123d69f4731cc227"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RailStep (cyclomatic 11, cognitive 9): RailStep has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac30ae2656519a57474eb583968417dcb2aa59959daafb090c1f2d067cc8c4de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function goToTrailhead (cyclomatic 11, cognitive 9): goToTrailhead has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf72ed418fdd091641517fea5337df216010fa424460a9ee7aa3d55382bec06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderCell (cyclomatic 11, cognitive 9): renderCell has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0f64fe2606c2228cf10ac6299ccb681274251d63ab7bdfd6f4b4d8390c6fa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ZipReportScreen (cyclomatic 11, cognitive 9): ZipReportScreen has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/zip-report.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a83a60415f7a1618caa6afcae18ce5527dd85298125f5fc4a705e860ef9b785"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function yamlScalar (cyclomatic 11, cognitive 9): yamlScalar has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69399af1818184b4e4dced6a9d8e37eff5052e88a39042b1b56a923b8d0ad65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b0513ae54a563af9794f9f4923889dd36a73350ba686c9ecd24b214aaf0a63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onpointerout (cyclomatic 11, cognitive 9): onpointerout has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9426}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d53e14c4ef31f9a2a0014d8b36477a3311fd71f9470cec4581f3b61244388ea"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts: 11186 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts has 11186 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ec207852bf7c6aba09c7d6c6d4b8e1753a90f8fa3eda4ae6a56d1c163bcd3d"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx: 2887 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx has 2887 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec0bda86d55442fa87ae9a812fc31ece58aaa8eb5b3e19c0b6bb7cf643868d9"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx: 2434 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx has 2434 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1515e5ef5ae6f2b6842501faad23f09e7d30459eec6fa9ec624048891ea10367"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts: 2015 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts has 2015 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6550755ee6b28b3ec06fbb0ec164ac5c74b3f83ee55226340326cb261102e9"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-css.ts: 1973 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-css.ts has 1973 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-css.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0807b96c7003ce271dbb1dfafc169fa37ae9c9b7433a62d6e0a5d620c81a633"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts: 1842 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts has 1842 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"984a78da464f9dee0288a1ba71dbe6de5f7693df82ff40c8000c807beb8b6ac5"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts: 1746 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts has 1746 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deac793181e4a103b0132df6efcaae7fb3f2a1b7031f8c3c6a814c8b3b33684a"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts: 1428 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts has 1428 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d305ae486e37628d095b7a8b520a2d7ff01543ce8f59917b202fce7dac44350"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts: 1337 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts has 1337 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6d86a29d4272e5a4f564322e04b5e52cf5e258e68f80d2f0ba45aba3b31e4c"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx: 1258 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx has 1258 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce78620274f7ca1d29812178e0dded336c5f0f2bba66dd0aab2a416e058ab4a6"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts: 1253 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts has 1253 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"769006e23cacc6a2feeebf9a7bf023ee5c104e464ac4bb9b6b40ff715d6c80b9"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx: 1249 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx has 1249 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a9dfa555055a428185a3bd327e5b4b36b4372da559fc99901d86f3566c78b8"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts: 1209 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts has 1209 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdf7c425dde217f94de601bd9149472542888958f6a32e8c7513de9ada64c63"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts: 1131 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts has 1131 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d953430ff72fafd0807fa58184e91acd8dd101bc395671e1c87c29eecb0d526"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js: 1074 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js has 1074 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6723a4a690ba5ccc0cec1112cf3b61f9b1393a311f803febdae65d69e9a5168"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/tools/extract-tool-defs.mjs: 1066 lines of code: sdks/typescript/tools/extract-tool-defs.mjs has 1066 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/tools/extract-tool-defs.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42f88267f9b8587379ee1b20afc9129f0d0db8e74b2a1e219cb2cae27fc4ae1"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/src/matcher/resolver.ts: 987 lines of code: sdks/typescript/src/matcher/resolver.ts has 987 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/resolver.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c89a1f7b5219195d6b9c40856cd42295a7184f4c0a2cba152a99b8d384800e7"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts: 983 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts has 983 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df3971d09838ed9eeac6486f918b8f37c4b30979218924a5bd22173bcc8d532"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx: 975 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx has 975 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9558dd36790e3af99794958950a1e3ad2952ff67b3dc6b988fe1d0135704c24f"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/src/client.ts: 951 lines of code: sdks/typescript/src/client.ts has 951 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e84b9935abed463fd8d190dc73637aadaa4eef3f5108af1c73c6d7c4174d53"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx: 945 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx has 945 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"646280eda57cee642fe06c3315ad224fd3f2a015e5231fb9900fe8a19e741bf4"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts: 944 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts has 944 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ca4c8381a0b1ad4f566faf96d53e7624bc0641858150b00e306b8d634ab13c"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx: 925 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx has 925 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dafa34b5dc2f11dc8c6b3e5ec1abad36196e6d9f93e0e6ba2fa36413bb4a347"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx: 913 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx has 913 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2276860af04f71c0e3ca46c60209f9ca17184bef2e1408ddf5497e5f80337be"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts: 840 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts has 840 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-extract.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fde07ea9b416435cf0dc8f5d98cccdf7fb5f1c82261d719fdb00338a12f469b"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx: 833 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx has 833 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf96e1e5caa454bd9fb29db3b58bce5b17fd72a81804f0afa23c6f7e24ff819f"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/src/surveys/session.ts: 818 lines of code: sdks/typescript/src/surveys/session.ts has 818 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0d1a45b123d7d3a9b02d77c63a269616075baf1fc4cbc6b1139a1468bccbce"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx: 807 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx has 807 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36766168d84557612ce5c9f082e296cf0b55048a0c49146ed78c7ae87298842a"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js: 778 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js has 778 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c6339c532b239d21f6ace21d1122c5e3ba81261b7140baebd69b4ebe79786f"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx: 775 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx has 775 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a951989c8804ea895e92909fa158c31c8fb9d9fc03af17ac9eb4200754b16f"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/src/tool.ts: 769 lines of code: sdks/typescript/src/tool.ts has 769 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/tool.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d5b2201c7e038c95208c73cba47aa2202ceaae17121d3e970a9f5eb3a216cc"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/src/surveys/live.ts: 718 lines of code: sdks/typescript/src/surveys/live.ts has 718 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/live.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d247ecbbc260933e618880243dc0ca5832a085b77377a09b5e982f162904c501"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx: 689 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx has 689 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a746255b1061e43c8d714b034fcdfead022fd88838fdbaa80f18073e899bfc"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js: 649 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js has 649 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9858df1f63ece9c94b40e1d69636131e05ce4279e0d481abf7bd97d2fdb08c"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx: 645 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx has 645 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e2c517784241c0c0ff25b2ab73519fb5d8364b7603bda5de1e0a88a0603e37"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx: 613 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx has 613 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3b8ae305d9bcf98dfb5f8f79947aff017f493558416b5e5845414f05762710"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx: 598 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx has 598 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff65c6605c2034b0e2b843399674fe75f09ee29d9463530db7a3e9435d6f2c02"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts: 597 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts has 597 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cb5c893e033f2419a2bdbbf3556fbc8d506b93bc81c00ea5b87f360e8a98b5"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js: 585 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js has 585 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c182edae7599bdd443cdf2e00820bad774d2e0adda669a95bdb97dd4df91e13c"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx: 583 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx has 583 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f2f96313d3f1ac5db85d6258faf5abffaef1d5bbd17108c5ecaa5532265f22"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts: 559 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts has 559 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78cb327866caf7f12606d496429d6ab42d0e76a80256df3a0d28d015d7643ee"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/src/testing.ts: 555 lines of code: sdks/typescript/src/testing.ts has 555 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/testing.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8240fb34445f5d4a7f39952eb1e9f0fc39bb6e9c9896e1677197106be59d39"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/src/tool-core.ts: 543 lines of code: sdks/typescript/src/tool-core.ts has 543 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/tool-core.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b74e99ca3d135d8434cc50583e4e60ea539b018d6abe665225789a8d8056c90"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-hooks.tsx: 534 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-hooks.tsx has 534 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-hooks.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"861be24108c599b8a858caf72466c3eb25adfc289543e0bc372e5e8b43c929a8"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/src/surveys/waypoints.ts: 529 lines of code: sdks/typescript/src/surveys/waypoints.ts has 529 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/waypoints.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f50f9d42d348eb4e783cfd3052cd653cf5f731af86618be2029aaa4e5e0c7e9"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx: 520 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx has 520 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef8d6481697c33657ca4bcfc8648632cec2cc987c3fdf302fa2e5ce9d3341b9"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-model.ts: 491 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-model.ts has 491 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c709e3b03b7e8a66ffbf37ffa0a6cde00cfb6b5d297c2651a350ddfe82cc224"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx: 481 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx has 481 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68779c8b0ef2bcf516c067d864cb6a2c9943017c0f42a8efb5454bb35eea01e5"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/src/matcher/driver-node-detail.ts: 469 lines of code: sdks/typescript/src/matcher/driver-node-detail.ts has 469 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/driver-node-detail.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"700b78f6c0223f0261c0d8a18a21cb09ab1e86eae30fb8c4b6fba1d6d31d45a0"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-perfetto.ts: 462 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-perfetto.ts has 462 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-perfetto.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"595ca66bcda1ce4cc72e8e8e35084fa24141f4647e96f3335788da235bba8020"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/src/context.ts: 457 lines of code: sdks/typescript/src/context.ts has 457 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/context.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0c26346bcc6c5abd585728b0c0c4862337e0e468e09c54df69992ad6723087"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/src/surveys/discover.ts: 456 lines of code: sdks/typescript/src/surveys/discover.ts has 456 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8500e4155494f8345bbb96e4c3b58f31880fb1cf8af29c19e277000996b11700"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx: 454 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx has 454 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc476e4e11deff5e5dff73fc82cecacba31e27625b9ced350561febc7d525783"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-model.js: 452 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-model.js has 452 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-model.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"687780729f74996871a9609189a2d1c6a9cf019f62ff0a932f847b5f9a6b8c2f"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-strings.ts: 433 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-strings.ts has 433 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-strings.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4038de086c6ae258e3b69078b5a2c6b3e7b89acce8a59e4473a5266fb4473ff1"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js: 416 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js has 416 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda4e342d89c13c0586029db91fdf86d890925b69ed6b6c1cd01370ea2c4e7ff"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/src/memory.ts: 408 lines of code: sdks/typescript/src/memory.ts has 408 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/memory.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd3a0ec274cc447ab5ef2be69a0b9b975f73ed1dadbc78a6144c24d869577f0"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts: 406 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts has 406 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26374fbb963dc090de584832cd05448b8b58423a62b896e99245fac71a748f5c"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx: 405 lines of code: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx has 405 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79a288acef450a03f507f6604593f8758fb36894fd34f3bc7599e304f91b6ea"}},{"ruleId":"R3","level":"warning","message":{"text":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell-html.ts: 404 lines of code: trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell-html.ts has 404 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell-html.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6fa929d8f86029e1ed1e6da4f85df549e54882d3e3908d1e7472b63db3b010"}},{"ruleId":"R3","level":"warning","message":{"text":"sdks/typescript/src/surveys/stored.ts: 403 lines of code: sdks/typescript/src/surveys/stored.ts has 403 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stored.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48198bd605e55fcdd74629b0342a763c10d26e6c1c05b34a0596176ea87916c"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b37bbc4c178ce8c2ac8675a9b50812190270545295f60637adbd650ced3ddb"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"940563d82bed24166fa157d513352707e9daa6bdd1413993e9e2be21b0798aa8"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9f7fc013b49cd89e8d0c0b92979554e5fa0a5ffb18363f7b126008f7a1e3f3"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93e6fc2557648acd5a3d2455ff9312ed4ed650730d834d7a563cfcc1e2fb01a"}},{"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":"sdks/typescript/tools/extract-tool-defs.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ceacfd70645f83fbe61f37379d263174a66627b3481a0b5acc6cf0cc2961461"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d40a3580a660fc15b6917c9c74323ff8c162906fed608b1a3b0c9a2798b208"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86e640220d719d8a0b9fd578688147cd5a3388f6161ec045a018acee25764d8"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a590d3591e658cce5316c9396c0ce4cf2e601cf5dff468e8d8cf1309821e835d"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be2445920aa0cd2274f048e1313df35f41222d88cda5d0bf998abacfc0c8136"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"673aeba7a84963b04d1f35e83534bbc8bd1df695cc7a69d194254b44c18aab4f"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0eeb87d1c5d8901fe75a53ba4c0ea3d1d9c6885b9f70f96ec5efabe39f4f0a"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a76e7722847142a776d611ec43e219640562c2a23087ccd0342d14790a43a4"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"841fd360f0660b14283e4868b97ace0b12c9dcfe709ddfe4d3df6532842fcbbb"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cc2ff24088c5f4c61195644ecf3afda218ee60c20556d928d5201e8a500133"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7bcedba62414e8aca12435ac501dec05bee2e8a9895b1e6f099310a8fb1c0e"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81293d73359b771cac6f57d9df8ae4fc7867641140f0a6738ecb047817a54dc5"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-hooks.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6a60375e78bf3798019d9cefcb6debc140174ce0f5a3db84688d4cc9cccaa3"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trace-viewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"093d232ca2504fe98a3d0a65320864c8575219c599db5dc014381d9f23568769"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fe1286e3cf6e513dca470ea3d245d0c55f371176eae0bf4a10968ae180983d"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd926255a60e3ae887b027f29ded5f23c663a0fc660de9db2d34c457085838d4"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig-steps.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d2a77bf413ef63922d42377750a851a3ebd458c087cb7b77f684f0f008d942"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-extract.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4347239a55a1750201728abeff9bcb66450c57bed20479a49ff62063dca94e"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7724bb8ca0e9b1e1ac5a11907ff0dede224dd57aad09c6d34204e0238338b2b"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b51adb8ff772a9ba83c483ab43a49e1f222769c98a0e765026f8e03fe025fe"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/integrations.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41b68d8b38f535e1b2153ad0fe1de5848ceb54ae1a1cadb45da83500e5f74fc"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/zip-report.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"853bce6b68bf55421cdfcab5717e771a8b3c6b9ee42297b4033a40de2eddf390"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/share-export.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af98e215f9e703e7f24e78f01a11d0c9710eecfc100a061c2255e3c2c37daf21"}},{"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":"trails/config/trailmaps/clock/tools/clock_android_launchApp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7959d1ea93676426046248787333d436e57248360b08eaab86433886b1707905"}},{"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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/agent-setup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deeed86af1798073598e930f2e79b619d76f1ef4521a22e4d6a176727460edbc"}},{"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":"sdks/typescript/src/rpc/example.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafabe0cb969c65aa7dabea68c3fdd32db18bd10f91b4c799d975eadfe827c83"}},{"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":"trails/config/trailmaps/clock/tools/clock_clearAlarms.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"529a8f92d0d2ad84c4784d99ee6c8e2cbf729628ed64d2ecddb437721bb6de4c"}},{"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":"trails/config/trailmaps/contacts/tools/contacts_android_launchApp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abaf8422ab30a835053675e6cea2fd3939204296ce044d6ca0119fbbb1d75550"}},{"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":"trails/config/trailmaps/calendar/tools/calendar_android_launchApp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"370c3c6abb2aaee831b35a249d5f3fea070ba9b9b52bedff5f0347bc8652cc00"}},{"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":"trails/config/trailmaps/wikipedia/tools/wikipedia_android_launchApp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ca5c90244736c4629c5d71c193bdc380c95456f6982a61e39151ef1bfb8464"}},{"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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer-boot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a201ce5e068842866b780596882f01cb8749b5b1bf157f61f0ff32d67eb01a"}},{"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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-core.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e435711edd498c80966c42cad6f2872bbe8a584fbc709016d85a48c88c7b71"}},{"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":"trails/config/trailmaps/goose/tools/goose_launchDesktop.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e55429a9fba4bbeac5f30e4cab42859c5b52b021d93fe754bed549a6e8ab86"}},{"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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/viewer-shell-cli.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"570c845a232a095b36ed25ce389c9e755bb186bdbb1a274817e2776455259c7b"}},{"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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell-boot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fc8ca1d6653ff51502a5712caadf34642f069477adcc819c2e5cb8188ba2f1"}},{"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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer-boot.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f22cdfdd4ba19c546514500082e9b33f822c2446b52acb3dfc337ef7a378674"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint script: test \u2713 \u00B7 lint \u2717 \u00B7 typecheck \u2713 \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":"bc8e67e81453cf5399dd04786d18b232180426b135169175fee670bdd83ccb03"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~82 LoC): no import path from any entry point (216 application, 8 tooling, 86 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":"trails/config/trailmaps/clock/tools/clock_android_launchApp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea4d3cadb73779f6cd413954190c93accca2a1d83202573edfe59117fc3cece"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~39 LoC): no import path from any entry point (216 application, 8 tooling, 86 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":"trails/config/trailmaps/clock/tools/clock_clearAlarms.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c1847af348ac496830649173651756cbe15930bde3c1221492c6d2c6311332"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~34 LoC): no import path from any entry point (216 application, 8 tooling, 86 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":"trails/config/trailmaps/contacts/tools/contacts_android_launchApp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c708cf55d65f609b96df14e35f463aef46874504d5609afd972c9abf6c15d295"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~33 LoC): no import path from any entry point (216 application, 8 tooling, 86 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":"trails/config/trailmaps/calendar/tools/calendar_android_launchApp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d9dc237aaf148e773a8b5e7fff00bdd4da9f52149af3c036750d08d1b120d3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~33 LoC): no import path from any entry point (216 application, 8 tooling, 86 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":"trails/config/trailmaps/wikipedia/tools/wikipedia_android_launchApp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dce5930ac8b1d99894ff59472ab9a18830788e53877a746845186aad509cf3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~20 LoC): no import path from any entry point (216 application, 8 tooling, 86 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":"trails/config/trailmaps/goose/tools/goose_launchDesktop.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf0fcbd19eb910b8f3bb98438e247a25c167126e9d1c1d77c2f46e2010102c8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027_listResultShape\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/built-in-tools.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e6ac0b2bca18931cc86984d90f047aa0e2b5741591772d325ebf0643b93c72"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027_detailedResultShape\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/built-in-tools.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e283a16003a5f78d8d0c5641aaf998397850b158c26e3f29bebfef8b1d8ef6e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027RegisteredHandler\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/tool.test.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbfb59cdb34f8311764e88aec96cbe0a26b9b80698ac66c6faa9b0e9a397744"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027__TRAILBLAZE_IMPORT_SOURCE__\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/tools/in-process-wrapper-template.mjs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c6a9df426d7177127ec021e916a331161b5ac2d11d9d0b6c65611287cd9670"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@vtsls/language-server\u0027: Declared in sdks/typescript/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/package.json"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"740c566b82139b71f9f21dbb3b34ca13fa5d99da5caf358b997fac3b159934a8"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027dts-bundle-generator\u0027: Declared in sdks/typescript/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/package.json"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0f07c12aea47e1baaf8bc8a6d43f6dbd95e0043e0c09144c24bab06dc9d1a0"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027esbuild\u0027: Declared in sdks/typescript/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/package.json"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ed476506ede5123d8c4ccdcc6d564e875d080dd91358cc744ff6b91ea320e0"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027yaml-language-server\u0027: Declared in sdks/typescript/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/package.json"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc67f289d2147b41e4272885310ce4bfb282a7b4c2c17557690b1629331b216f"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): sdks/typescript/src/surveys/cli-main.ts \u2192 sdks/typescript/src/surveys/discover.ts \u2192 sdks/typescript/src/surveys/index.ts \u2192 sdks/typescript/src/surveys/cli-main.ts (one verified cycle inside a mutually-dependent group of 4 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/cli-main.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a15497b8ba7efda849fab06ffd8cce6a3a974817e666f3fd3ecbf191237aeb8"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://unpkg.com/react@18.3.1/umd/react.production.min.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. 11 such include(s) across the repository\u0027s markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/index.html"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6adffd1aaa8d9295dd494c42e64edecc71dffcbe79c9fef4a832ce7caedff57"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: examples/android-sample-app/trails/config/host-tools/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/android-sample-app/trails/config/host-tools/package.json"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"de064af4ad26b59d46719031de2d9d25b5c4dcacc091460bc5bf31aef2c77ee8"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: examples/android-sample-app/trails/config/trailmaps/sampleapp/tools/mcp/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/android-sample-app/trails/config/trailmaps/sampleapp/tools/mcp/package.json"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4bac77d342dba0c045a9be504915eedd3dc1011c56d0de8f26f2e9cff025f1"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: examples/playwright-electron/sample-app/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/playwright-electron/sample-app/package.json"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c285d5af17a9742f1aa51a51b7dcb3e8708504a0ae4c088f2cb9619eea60cae4"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/e2e/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/e2e/package.json"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ed64145cc22505fbc8db8d018248d3f030e9d96919dc5d268f2620834fb287"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060Thread.sleep\u0060 inside a coroutine: This coroutine runs on a dispatcher\u0027s thread, and \u0060Thread.sleep\u0060 blocks that thread: for the whole delay no other coroutine scheduled on it makes progress (on \u0060Dispatchers.Main\u0060 the UI freezes) \u2014 the Kotlin form of blocking on a task. Use \u0060delay(\u2026)\u0060, which suspends only this coroutine. Where the blocking work is not a sleep but a call that cannot be made suspending, move it off the dispatcher with \u0060withContext(Dispatchers.IO) { \u2026 }\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/recording/PlaywrightDeviceScreenStream.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c22fd4d49de5b3d588225f325fcbb21906b9c7f4e6857ae3fa606035d25edf6"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060Thread.sleep\u0060 inside a coroutine: This coroutine runs on a dispatcher\u0027s thread, and \u0060Thread.sleep\u0060 blocks that thread: for the whole delay no other coroutine scheduled on it makes progress (on \u0060Dispatchers.Main\u0060 the UI freezes) \u2014 the Kotlin form of blocking on a task. Use \u0060delay(\u2026)\u0060, which suspends only this coroutine. Where the blocking work is not a sleep but a call that cannot be made suspending, move it off the dispatcher with \u0060withContext(Dispatchers.IO) { \u2026 }\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/recording/PlaywrightDeviceScreenStream.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8851178f38f766e81e9c88cfebdd5ae0b22d2a6128b68680cf3157b60122b13"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!hierarchy || typeof hierarchy !== \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-inspector.ts, trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-selectors.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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-inspector.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d34e55d7b425730d4c50c9a477f1c8b2851dc4658ecc8e3050cf403bd7fdd1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!selected || selected.available !== false\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd95f1805897399a9d8037ee1b907433918461755cccca7cbffae6389930d5c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!streams || typeof streams !== \u0022object\u0022 || Array.isArray(streams)\u0060 appears character-identically in 2 files \u2014 trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts, trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-warnings.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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b55a3821c3363852ccbdc22e30b101929ac43893875863a06b342eff33982c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(agentsHook.data \u0026\u0026 agentsHook.data.supportedAgents) || []\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/agent-setup.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/agent-setup.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4be7a7d891eb10c80da82423d0ba054a680e26d06ca957f6298431c7dbcfa2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(deviceApps.data \u0026\u0026 deviceApps.data.targets) || []\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5845840520500c9fe122c625c0fc140e9d35605ceae9170e435ae15e5972ce6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args != null \u0026\u0026 typeof args === \u0022object\u0022 \u0026\u0026 !Array.isArray(args)\u0060 appears character-identically in 2 files \u2014 sdks/typescript/src/tool-core.ts, sdks/typescript/src/tool.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":"sdks/typescript/src/tool-core.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e66632aa122990267d8e354579e5d6ef63a18145b633eeef5c77020a743178a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cbRef.current.onChange \u0026\u0026 cbRef.current.onChange(t)\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f9bb941ac6016858020a63bb743cc4ac47268d62f5a96606ef60cdf5230646"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cbRef.current.onSave \u0026\u0026 cbRef.current.onSave()\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"55595748a9e18818fd175d3005f26b903e8c50580b24bf209d5aa3f4517b3bd7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060d.instanceId || d.trailblazeDeviceId?.instanceId\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"b824f25204cb14570c7e39850ac27d0f9daa480104f4a810d9b851574c99095a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060d.platform || d.trailblazeDeviceId?.trailblazeDevicePlatform || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-hooks.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d75f2fe0e0bb239b9400f991a41ca021897ef270934462fe824d77bd97b4ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060envelope.structuredContent !== undefined \u0026\u0026 envelope.structuredContent !== null\u0060 appears character-identically in 3 files \u2014 sdks/typescript/src/client.ts, sdks/typescript/src/testing.ts, sdks/typescript/tools/in-process-wrapper-template.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/client.ts"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d0bebf4f22f342939f65df08418938d292da3641f79861ac757a8b4be20733"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existsSync(dir) \u0026\u0026 statSync(dir).isDirectory()\u0060 appears character-identically in 3 files \u2014 sdks/typescript/src/surveys/discover.ts, sdks/typescript/src/surveys/workspace.ts, trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.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":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"797a50b41ea2fc217d2cd3ba142fe083356a807f1cdbb81effd0bb36bea32f2f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060firstArg !== null \u0026\u0026 typeof firstArg === \u0022object\u0022\u0060 appears character-identically in 2 files \u2014 sdks/typescript/src/client.ts, sdks/typescript/src/testing.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":"sdks/typescript/src/client.ts"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b3e35c260887d6fb08b08ccc0236d66e0e20b65ee427a7922faae87f1fb5d9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060from == null || to == null || from === to\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-detail.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d72168891026a5fee9809622dbec5669dbcb6679e52fd52836f130b095c049"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060h \u0026\u0026 value != null \u0026\u0026 h.getValue() !== value\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"56857c9f312fedae3ff6eb6d5b07cd5541b1f9a875f9eb51ce504cef584c790f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.where \u0026\u0026 !options.where(session.summary)\u0060 appears character-identically in 2 files \u2014 sdks/typescript/src/surveys/runner.ts, sdks/typescript/src/surveys/stream-write.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":"sdks/typescript/src/surveys/runner.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfd42ed99ac6211d80fe321ed6ef1291b22ffb634448376e6d0f5a6d38688f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed \u0026\u0026 typeof parsed === \u0027object\u0027 \u0026\u0026 !Array.isArray(parsed)\u0060 appears character-identically in 3 files \u2014 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx, trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"238c0c8311b913c0405ec24464382e64106b3e5f0d2131d6cade1fa703855af3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r \u0026\u0026 r.ok !== false \u0026\u0026 r.success !== false \u0026\u0026 r.sessionId\u0060 appears character-identically in 3 files \u2014 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-fanout.js, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/blaze.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2098e094aaebc06bcbcfdd1db02ad38320d0ef929aa2aeab163e3e1cee33b66"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060res.error || \u0027Could not switch to that folder. It may not be a readable directory.\u0027\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/settings.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb992ab01f24ef5b1a4f41a486317773fe8f1fa41d128aa2e75d4c4bde65ab97"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result === undefined || result === null || result === false\u0060 appears character-identically in 2 files \u2014 sdks/typescript/src/surveys/labels.ts, sdks/typescript/src/surveys/run-one.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":"sdks/typescript/src/surveys/labels.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"01681a4e85484883d4e87c115507d9cf4b8e8e5ceec974ef5fcd71fccbb86379"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selected \u0026\u0026 selected.models \u0026\u0026 selected.models.length\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ea3c2365b3539888ddfadbc1ee34a9ac371210c80e90caff9e89bab008fd6e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060specObj.inputSchema \u0026\u0026 typeof specObj.inputSchema === \u0022object\u0022 \u0026\u0026 !Array.isArray(specObj.inputSchema)\u0060 appears character-identically in 2 files \u2014 sdks/typescript/src/in-process.ts, sdks/typescript/src/tool.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":"sdks/typescript/src/in-process.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b521c4b8e2c1db9ec169e5e85c2c2f69a347e20e9bb330977d80775f51125d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status.data \u0026\u0026 status.data.trailsDirectory\u0060 appears character-identically in 3 files \u2014 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/home.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fadf4ffc9503c611fb83c7768d465372f2cb37bb479d72f2c18ef31836343b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status.data \u0026\u0026 status.data.workspaceBranch\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/home.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/home.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f83916e9bece77b8656a14adf4d9a997a8895fbfaaa04d95ebe2208f19f18a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status.data \u0026\u0026 status.data.workspaceIsWorktree\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/home.tsx, trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/home.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23f1ca44d07fd9acb1947e5897791cc8c7035434702aab861abd766af152856"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof Bun === \u0022undefined\u0022 || !Bun?.YAML\u0060 appears character-identically in 2 files \u2014 sdks/typescript/src/surveys/targets.ts, sdks/typescript/src/surveys/waypoints.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":"sdks/typescript/src/surveys/targets.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"02515e2c46abe3f5b6b5e4fce8eb1e3d264273b4b0e88f06db3c9dd312fc997b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof document !== \u0027undefined\u0027 \u0026\u0026 !!document.querySelector(\u0027[aria-modal=\u0022true\u0022]\u0027)\u0060 appears character-identically in 2 files \u2014 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts, trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"90db3abd3ed3f9da4128711999bca966794b03d47947ed643a8877e027581465"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof log.captureId === \u0022string\u0022 \u0026\u0026 log.captureId\u0060 appears character-identically in 2 files \u2014 sdks/typescript/src/surveys/session.ts, trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-visible-strings.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":"sdks/typescript/src/surveys/session.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"0537f6184a54d7db49292c7722e155565af713692fa14247a73de2c8ea101110"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof log.screenshotFile === \u0022string\u0022 \u0026\u0026 log.screenshotFile\u0060 appears character-identically in 2 files \u2014 sdks/typescript/src/surveys/session.ts, trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-visible-strings.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":"sdks/typescript/src/surveys/session.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"1848448409391f5a94c3edd36199b30a194a9e19cdd4c0d12cc849ac4b6ef8f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof result === \u0022object\u0022 \u0026\u0026 result !== null\u0060 appears character-identically in 2 files \u2014 sdks/typescript/src/memory.ts, sdks/typescript/src/trailhead.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":"sdks/typescript/src/memory.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c5226b1c622cd24b12fa87ad2443a0439b8df1a702901f076111d6ea3b79a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof result === \u0022object\u0022 \u0026\u0026 result !== null \u0026\u0026 Array.isArray((result as Record\u003Cstring, unknown\u003E).content)\u0060 appears character-identically in 2 files \u2014 sdks/typescript/src/memory.ts, sdks/typescript/src/trailhead.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":"sdks/typescript/src/memory.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee0618dd71c39abec20e0b149a8d16343dd33f7ff35b545bacb01814bd0d26a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof v === \u0022number\u0022 \u0026\u0026 Number.isFinite(v)\u0060 appears character-identically in 4 files \u2014 sdks/typescript/src/surveys/log-clock.ts, sdks/typescript/src/surveys/parse.ts, trailblaze-report/src/main/resources/xyz/block/trailblaze/report/device-clock-sync.ts, trailblaze-report/src/main/resources/xyz/block/trailblaze/report/event-formatters/memory.formatter.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":"sdks/typescript/src/surveys/log-clock.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a1b83f1c28b3f8430e00e8b2413b1acb339cf202c5ae230bf54980968105c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 \u0026\u0026 Number.isFinite(value)\u0060 appears character-identically in 2 files \u2014 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts, trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-trail-replay.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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-model.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c3c3fd4d551390390e929eff383d82e4a4449de553d9c55641823c0c2ac538"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 || typeof value === \u0027boolean\u0027\u0060 appears character-identically in 2 files \u2014 trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts, trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary-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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e650f52459d2a7813065f741886ee0e021a76aab2a204d8f80cbcce90617f4f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v !== null \u0026\u0026 typeof v === \u0022object\u0022 \u0026\u0026 !Array.isArray(v)\u0060 appears character-identically in 3 files \u2014 sdks/typescript/src/session-start.ts, sdks/typescript/src/surveys/parse.ts, sdks/typescript/src/surveys/targets.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":"sdks/typescript/src/session-start.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"6498d5648a65aebad8fecd55e5c922514210be225d81a1f3d2a8d4b4d207ad86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060validator != null \u0026\u0026 !validator(validatedArgs)\u0060 appears character-identically in 2 files \u2014 sdks/typescript/src/tool-core.ts, sdks/typescript/src/tool.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":"sdks/typescript/src/tool-core.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e225e3aabd87aca74d846751887ab954a05256a73e12358960fa3360cf59dd2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!candidateDir.canonicalPath.startsWith(logsDirCanonical \u002B File.separator) \u0026\u0026 candidateDir.canonicalPath != logsDirCanonical\u0060 appears character-identically in 2 files \u2014 trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/LogScreenshotPostEndpoint.kt, trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/LogTracePostEndpoint.kt. 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":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/LogScreenshotPostEndpoint.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9dcb94618470f575204b2facda9952b4d51982e36c4330960a69050e33a63c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!fileCanonical.startsWith(trailsDirCanonical \u002B File.separator) \u0026\u0026 fileCanonical != trailsDirCanonical\u0060 appears character-identically in 2 files \u2014 trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailExecutor.kt, trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailFileManager.kt. 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":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailExecutor.kt"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"d275c365a7e2a8a2d83faa337e53025fcb27c19708a11019426b39b7ce726d30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!hasAccessibilityMatch || agent == null || !agent.usesAccessibilityDriver\u0060 appears character-identically in 2 files \u2014 trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/android/tools/AndroidAccessibilityClickTrailblazeTool.kt, trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/android/tools/AndroidGestureTapTrailblazeTool.kt. 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/android/tools/AndroidAccessibilityClickTrailblazeTool.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f254604ac8e311ae6c616c857a3b91761b38ee5e79bb904919943dd234aa62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!logcatFile.exists() || logcatFile.length() == 0L\u0060 appears character-identically in 2 files \u2014 trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/logcat/LogcatParser.kt, trailblaze-report/src/main/java/xyz/block/trailblaze/report/GenerateTestResultsCliCommand.kt. 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":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/logcat/LogcatParser.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe7991768ecaf733db1f20332986bfc90ed475d9b98683b3cf9bae1843c7018"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!outputDir.exists() \u0026\u0026 !outputDir.mkdirs()\u0060 appears character-identically in 2 files \u2014 trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/compile/TrailblazeCompiler.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt. 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/compile/TrailblazeCompiler.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d048d061cae371a89302ccc355cd6366b25bb4f5e89e58eb6675f2f64b7b0f26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!refsApplied \u0026\u0026 _trailblazeNodeTree != null\u0060 appears character-identically in 2 files \u2014 trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityServiceScreenState.kt, trailblaze-android/src/main/java/xyz/block/trailblaze/android/uiautomator/AndroidOnDeviceUiAutomatorScreenState.kt. 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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityServiceScreenState.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd9bef388e8e63ca5d5458001d31982636d2b8a8c17cf651aa8c182508008df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!text.isNullOrBlank() || !contentDescription.isNullOrBlank()\u0060 appears character-identically in 2 files \u2014 trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidAccessibilityTreeFilter.kt. 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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"459ca0def0f0d1cecd36524f777d3107ada8c2c2e5bfeb2fd527a2ea2b864710"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(requested \u0026\u0026 !keepForReuse) || localeChanged\u0060 appears character-identically in 2 files \u2014 trailblaze-android/src/main/java/xyz/block/trailblaze/android/AndroidTrailblazeRule.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/host/yaml/DesktopYamlRunner.kt. 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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/AndroidTrailblazeRule.kt"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"b476bec1bbf5c14b135d202d49d738668b29115a5968febed4279a2d362f836b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060added.isNotEmpty() || removed.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SettingsRoutes.kt, trailblaze-report/src/main/java/xyz/block/trailblaze/report/strings/VisibleStringsDiff.kt. 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SettingsRoutes.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c4a445125a5d4f20bf10fcdede7263ab200f06e033a253d4572346ce7cfabb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060address in LOOPBACK_ADDRESSES || address.startsWith(\u0022127.\u0022)\u0060 appears character-identically in 2 files \u2014 trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/ReverseProxyEndpoint.kt, trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/ScriptingCallbackEndpoint.kt. 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":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/ReverseProxyEndpoint.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59a7e778d4499edcb514087ae619a872fae7eae5d7975df849081e44403bce1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attributes.isEmpty() \u0026\u0026 children.isEmpty()\u0060 appears character-identically in 2 files \u2014 trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/utils/Ext.kt, trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/matching/TrailblazeNodeMapperMaestro.kt. 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/utils/Ext.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06977cb4bbe547df74abba67e081271c85a9e7b2c4b910922ecc089c8649060"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bounds.x2 \u003C= 0 || bounds.x1 \u003E= screenWidth || bounds.y2 \u003C= 0 || bounds.y1 \u003E= screenHeight\u0060 appears character-identically in 2 files \u2014 trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/ViewHierarchyCompactFormatter.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/ViewHierarchyFilter.kt. 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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/ViewHierarchyCompactFormatter.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"14649dd3036e285954b8cf93f38a3175a3205f633971ed9396315f6c7e810648"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes.size \u003E= 12 \u0026\u0026 bytes[0].toInt() == \u0027R\u0027.code \u0026\u0026 bytes[1].toInt() == \u0027I\u0027.code \u0026\u0026 bytes[2].toInt() == \u0027F\u0027.code \u0026\u0026 bytes[3].toInt() == \u0027F\u0027.\u2026\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RecordRoutes.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RunToolsRoutes.kt. 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RecordRoutes.kt"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"87eac21f3ee28478fa5c13a37acf8545b3340d47cb5037f703d8dfd910026182"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate.exists() \u0026\u0026 candidate.canExecute()\u0060 appears character-identically in 2 files \u2014 trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/BunBinaryResolver.kt, trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/scripting/LazyYamlScriptedToolRegistration.kt. 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":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/BunBinaryResolver.kt"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcc7ee07fadb5e35266347455905b04d5660381f3f5b1e2a84bbc1f3e543c25"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child.isDirectory \u0026\u0026 File(child, marker).isFile\u0060 appears character-identically in 2 files \u2014 trailblaze-android-gradle/src/main/kotlin/bundler/TrailblazeAuthorToolBundleTasks.kt, trailblaze-common/build.gradle.kts. 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":"trailblaze-android-gradle/src/main/kotlin/bundler/TrailblazeAuthorToolBundleTasks.kt"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f963a5151defd03dd1f4b408acf7284b46ece564aaca77f68c9d6f7dd482ca1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060command.startPoint != null \u0026\u0026 command.endPoint != null\u0060 appears character-identically in 2 files \u2014 trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/MaestroCommandConverter.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/MaestroCommandToIosDriverActionConverter.kt. 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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/MaestroCommandConverter.kt"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6186d4bdb7e98f8eaa037eab1db678f1f824671eefebd6c8340c8899e6452b07"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060command.startRelative != null \u0026\u0026 command.endRelative != null\u0060 appears character-identically in 2 files \u2014 trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/MaestroCommandConverter.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/MaestroCommandToIosDriverActionConverter.kt. 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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/MaestroCommandConverter.kt"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b70800e029d8b0af01a213ca1964cf297f8d232655d99af4d0dd1d64afce32e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060compatibleDriverTypes.isEmpty() || driverType in compatibleDriverTypes\u0060 appears character-identically in 2 files \u2014 trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/ToolSetYamlLoader.kt, trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/TrailblazeToolSetCatalog.kt. 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/ToolSetYamlLoader.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e2cb8566b7ae1f699117f3512d5196f5f10e1a266474e05ec1d059c349deb8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cx == center.first \u0026\u0026 cy == center.second\u0060 appears character-identically in 2 files \u2014 trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/AssertVisibleTrailblazeTool.kt, trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/TapTrailblazeTool.kt. 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/AssertVisibleTrailblazeTool.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"70318d0f13ada1ccddfa85a09e92745dd4aff62c6c2674bc4338da6cfc64ae7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060detail.text == null \u0026\u0026 detail.contentDescription != null\u0060 appears character-identically in 3 files \u2014 trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidView.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorCompose.kt. 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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ef1b0be62b21e46ba274230216defb22634ac08e071a62647564d74c9d2e1c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060detail.text == null \u0026\u0026 detail.contentDescription != null \u0026\u0026 detail.className != null\u0060 appears character-identically in 2 files \u2014 trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidView.kt. 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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d760822e183f8736f96688aaaea01f988949948b3c7a248edea03bfa109dcf0b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060detail.text.isNullOrBlank() \u0026\u0026 detail.hintText != null\u0060 appears character-identically in 3 files \u2014 trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidView.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorIosMaestro.kt. 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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4627c8428c8afcc30ff8596c35a42a2a693cb75a85ef73733b45154b2391cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060detail.text.isNullOrBlank() \u0026\u0026 detail.hintText != null \u0026\u0026 detail.className != null\u0060 appears character-identically in 3 files \u2014 trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidView.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorIosMaestro.kt. 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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorAndroidAccessibility.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dbd44743b5bed16ade9a223a2a83692597bdfbb1628e3e10bb84ab3af05101"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.name !in SKIP \u0026\u0026 !e.name.startsWith(\u0022.\u0022)\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolCatalogBuilder.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolCatalogCache.kt. 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolCatalogBuilder.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d1e4fd1d021ec84abad15a3f1cc94a0775c5927945c89ab644454d6fc548d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060elem.bounds != null \u0026\u0026 screenBounds.contains(elem.bounds)\u0060 appears character-identically in 3 files \u2014 trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/AndroidViewHierarchyFilter.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/IosViewHierarchyFilter.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/WebViewHierarchyFilter.kt. 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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/viewhierarchy/AndroidViewHierarchyFilter.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaa441b531d0584ba1e558df652c065095452f7af2f22a82196ea86dbc2b96e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entries.isEmpty() \u0026\u0026 directoryEntries.isEmpty()\u0060 appears character-identically in 2 files \u2014 build-logic/src/main/kotlin/ShrinkUberJarWithProguardTask.kt, gradle/proguard-utils.gradle.kts. 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":"build-logic/src/main/kotlin/ShrinkUberJarWithProguardTask.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"48afeb9399882fdb81fb0b9e2b059966eaa74042b08e2754cf770f961db6f4d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060env.isTrailblazeFlagEnabled() || configEnabled\u0060 appears character-identically in 3 files \u2014 trailblaze-host/src/main/java/xyz/block/trailblaze/host/animations/DisableAnimationsGate.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/host/capture/IosBaguetteVideoGate.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/host/turbo/TurboGate.kt. 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/animations/DisableAnimationsGate.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f59d327c0a005980888b5737cee7bad0ae44ca8be85a9df6f8f7d9b96f1c50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060exit != 0 || !outputFile.exists() || outputFile.length() == 0L\u0060 appears character-identically in 2 files \u2014 trailblaze-report/src/main/java/xyz/block/trailblaze/report/PerformanceAnalysisGenerator.kt, trailblaze-report/src/main/java/xyz/block/trailblaze/report/RunReportGenerator.kt. 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":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/PerformanceAnalysisGenerator.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"976dc69deb24476557b327540ff655223aefc462bd7fdea2a50f3d1cf0613f69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060f.isFile \u0026\u0026 f.name.endsWith(\u0022.md\u0022) \u0026\u0026 f.name !in keepNames\u0060 appears character-identically in 2 files \u2014 docs/generator/src/main/java/xyz/block/trailblaze/docs/DocsGenerator.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/host/ResolvedTargetReportEmitter.kt. 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":"docs/generator/src/main/java/xyz/block/trailblaze/docs/DocsGenerator.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e7e8837381958b30ce6363c9708f95209d82176e2ad6b9fcf6eda42de51351"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fCanon != baseCanon \u0026\u0026 !fCanon.startsWith(baseCanon \u002B File.separator)\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RunToolsRoutes.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolCatalogBuilder.kt. 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RunToolsRoutes.kt"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44945d77948709b79219ed957775201fade34babcd8a128ee106d334d4da9ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060from \u003C 0 || to \u003C from || to \u003E= unified.trail.size\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt, trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailAdapter.kt. 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailRoutes.kt"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1995fb01f45d356217a2d4766457eba55dcb475e0ee07b53f6c7f3ca0f86c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i \u003C code.length \u0026\u0026 code[i].isWhitespace()\u0060 appears character-identically in 2 files \u2014 trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/surveys/SurveyBundles.kt, trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/surveys/SurveySourceText.kt. 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/surveys/SurveyBundles.kt"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"6010a608e701a8be09adfb2e3c79c8b49f3d182aef3a246c383cdb791709256f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060imageLong \u003C= targetLong \u0026\u0026 imageShort \u003C= targetShort\u0060 appears character-identically in 3 files \u2014 trailblaze-android/src/main/java/xyz/block/trailblaze/setofmark/android/AndroidBitmapUtils.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/host/util/BufferedImageUtils.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/ScreenshotScalingConfig.kt. 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":"trailblaze-android/src/main/java/xyz/block/trailblaze/setofmark/android/AndroidBitmapUtils.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e71192d81b517790489805d0dc3c3a2f4d4ee096134268b2b254994f155260b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060intent.componentPackage.isNotEmpty() \u0026\u0026 intent.componentClass.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 trailblaze-common/src/androidMain/kotlin/xyz/block/trailblaze/device/AndroidDeviceCommandExecutor.android.kt, trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/device/AndroidDeviceCommandExecutor.jvm.kt. 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":"trailblaze-common/src/androidMain/kotlin/xyz/block/trailblaze/device/AndroidDeviceCommandExecutor.android.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a5540754c72fa04e5d37522d1db1c6da32c3f02b3dcd06235941660a4ab640"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isContainer \u0026\u0026 hasVisibleDescendants(node)\u0060 appears character-identically in 2 files \u2014 trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/IosCompactElementList.kt. 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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"12958ea3a072ec54073d5e74161dd200d15ee3b539a6f27eb53e87cc02b1bd82"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it == \u00221\u0022 || it.equals(\u0022true\u0022, ignoreCase = true)\u0060 appears character-identically in 2 files \u2014 trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/InProcessIdleApkInstaller.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/ScriptedToolDefinitionCache.kt. 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":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/InProcessIdleApkInstaller.kt"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4ef3823e9111c9f81e9536d1e4e2082791112432477d114ca28661adfcb759"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it == surveysDir || !(it.name.startsWith(\u0022.\u0022) || it.name == \u0022node_modules\u0022)\u0060 appears character-identically in 2 files \u2014 trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapSurveyBundling.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt. 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":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapSurveyBundling.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"60dec55eca4e7ae635a55728f2f9b4d68d0f1f2fb5bb85f3b749f59b04cd2c95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isBlank() || it.length - it.trimStart(\u0027 \u0027).length \u003E= indent\u0060 appears character-identically in 2 files \u2014 trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt. 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":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"6542b80872a1107082b61e7328768ff48ce56af11a5c005b7bec60b21ebb683f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isEmpty() || (it.startsWith(\u0022[\u0022) \u0026\u0026 it != \u0022[]\u0022)\u0060 appears character-identically in 2 files \u2014 trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt. 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":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8bbfb63b3834deee07765613715a5961bc38d11108e76ee90e288c96ae9958"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isEmpty() || it == \u0022~\u0022 || it == \u0022null\u0022 || it.first() in \u0022[{|\u003E\u0026*!\\\u0022\u0027\u0022\u0060 appears character-identically in 2 files \u2014 trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt. 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":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8c14dffb082eb53eaa7a775fec2a3f609365d501c46db10482d63e3654c161"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isLetterOrDigit() || it == \u0027_\u0027 || it == \u0027-\u0027\u0060 appears character-identically in 4 files \u2014 docs/generator/src/main/java/xyz/block/trailblaze/docs/TargetToolBaselineGenerator.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailTargetLint.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RunToolsRoutes.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt. 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":"docs/generator/src/main/java/xyz/block/trailblaze/docs/TargetToolBaselineGenerator.kt"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83ae5a9dddc87d4d76810ab247931f09fae689763c59ddaafa92f43d6c28bd1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.isLetterOrDigit() || it == \u0027_\u0027 || it == \u0027-\u0027 || it == \u0027.\u0027\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/TrailmapRoutes.kt. 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/SessionRoutes.kt"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0acdaa7659dc5d31e8771c2d5014d9737b27179dd3feb43dc90100aab55091b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.name.startsWith(\u0022publish\u0022) \u0026\u0026 it.name.contains(\u0022WasmJs\u0022)\u0060 appears character-identically in 2 files \u2014 trailblaze-common/build.gradle.kts, trailblaze-ondevice-rpc-proto/build.gradle.kts. 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":"trailblaze-common/build.gradle.kts"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f55715459eb0b22d20bfb8428b0a4629a0ef24bda37284d3cb1140830414821"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060it.whenDevices != null || it.exceptDevices != null\u0060 appears character-identically in 2 files \u2014 trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recordings/UnifiedRecordingWriter.kt, trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/unified/UnifiedTrailAdapter.kt. 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recordings/UnifiedRecordingWriter.kt"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"4151d36d4a437645ea9ddcf961b0e87fde951e8928f218036759d13020960aad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key in NESTED_TOOL_LIST_KEYS \u0026\u0026 value is JsonArray\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/java/xyz/block/trailblaze/host/MultiDeviceHandoverGuard.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/usages/TrailToolUsageScanner.kt. 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/MultiDeviceHandoverGuard.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cfc30af1d8f58392c609bb5a625d29992aa7c07aeea62aecd4b0a72ddbf382"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060label != null \u0026\u0026 shortClass.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/IosCompactElementList.kt. 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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/AndroidCompactElementList.kt"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"82121b6b440f0d406a848b268ab76072c701c930c06998a4eb92d48870b88cc1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060left \u003C other.right \u0026\u0026 right \u003E other.left \u0026\u0026 top \u003C other.bottom \u0026\u0026 bottom \u003E other.top\u0060 appears character-identically in 2 files \u2014 trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityNode.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNode.kt. 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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityNode.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c31b4f9626b570d92bfd832ed180958a173b8fa8bb30c36fb630fb8552d2db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060left \u003C= other.left \u0026\u0026 top \u003C= other.top \u0026\u0026 right \u003E= other.right \u0026\u0026 bottom \u003E= other.bottom\u0060 appears character-identically in 2 files \u2014 trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityNode.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNode.kt. 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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/AccessibilityNode.kt"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc991809aad6f53a2a5ad5040bd712d0a970fa2abee932680ec2f18117bdfa8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.startsWith(\u0027 \u0027) || line.startsWith(\u0027\\t\u0027)\u0060 appears character-identically in 2 files \u2014 trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt. 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":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be9accd58802cb21ae0eff18d23ec91037522aae8fc4046dcb6c38b4ce78908"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lines[i].isEmpty() || lines[i][0].isWhitespace() || lines[i].startsWith(\u0022#\u0022)\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailLabelLint.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailLabelWriter.kt. 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailLabelLint.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c5a043309902543cd07653e5cccedef98f9a00bf479e5565e4d0d31c9ac43c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060locale.language.isNotBlank() \u0026\u0026 locale.language != \u0022und\u0022\u0060 appears character-identically in 2 files \u2014 trailblaze-common/src/androidMain/kotlin/xyz/block/trailblaze/AndroidDeviceLocale.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/host/devices/DeviceLocaleConfigurator.kt. 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":"trailblaze-common/src/androidMain/kotlin/xyz/block/trailblaze/AndroidDeviceLocale.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f544e0006b993388885536834a7da1e1eafa3a3557bc41d030e1c537bd89011"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060match != null \u0026\u0026 !match.matches(record.data)\u0060 appears character-identically in 2 files \u2014 trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/events/SessionEventsHostFunctions.kt, trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/trailhead/TrailEventsHostFunctions.kt. 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/events/SessionEventsHostFunctions.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5eca69c5be7d81522162a67d8c53391a7d42d7d6b1ec3921407fedfe5417a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060match.labelRegex != null || match.valueRegex != null || match.titleRegex != null\u0060 appears character-identically in 2 files \u2014 trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorEnumeration.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt. 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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorEnumeration.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f00b992ed421913e1b895d584a1a073530fd84c93edf955844c2508b32ba8ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060match.textRegex != null || match.accessibilityTextRegex != null || match.hintTextRegex != null\u0060 appears character-identically in 2 files \u2014 trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorEnumeration.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorResolver.kt. 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":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/api/TrailblazeNodeSelectorGeneratorEnumeration.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada2e93e316a2cd5c7db47650f5e188aab03e66873ae5384670696e2f5828c47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060matches is ElementMatches.SingleMatch \u0026\u0026 context.isCorrectTarget(matches)\u0060 appears character-identically in 3 files \u2014 trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/TargetPropertiesStrategy.kt, trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/UniqueParentStrategy.kt, trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/utils/SelectorStrategyHelpers.kt. 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/viewmatcher/strategies/TargetPropertiesStrategy.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"373c2f836ef19434a4a7fcc86f71a65f532ea9cf58fdaafab06bbf69a0b022b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060moreIndented(previous) || moreIndented(line)\u0060 appears character-identically in 2 files \u2014 trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt. 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":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d5a34c3db2d06ca7a2ad8ba09a5940a411c032e3afab6fb9363b0165d652e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060needle.isEmpty() || haystack.size \u003C needle.size\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/LspMessageFraming.kt, trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/network/NetworkCaptureRedaction.kt. 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/LspMessageFraming.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7fb5c23026b428dc957ca3836c12b6fa007bb2a9d71ffe5f49fc64e357e91d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nthIndex \u003E 0 \u0026\u0026 nthIndex \u003C matchingNodes.size\u0060 appears character-identically in 2 files \u2014 trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/ComposeTrailblazeAgent.kt, trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/tools/ComposeExecutableTool.kt. 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":"trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/ComposeTrailblazeAgent.kt"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab2c596c09d27226d33b37ea48dad830c1398b3cc4078cf47f8add3164d7559"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parts.size != 2 || parts[0].isBlank() || parts[1].isBlank()\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliConfigHelper.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt. 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliConfigHelper.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb9f2f367ee83b6d99c37619ffcf83bc4c73fa38ede542bb68db71156d1f12d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060proc.exitValue() != 0 \u0026\u0026 out.isNotEmpty()\u0060 appears character-identically in 2 files \u2014 trailblaze-report/src/main/java/xyz/block/trailblaze/report/PerformanceAnalysisGenerator.kt, trailblaze-report/src/main/java/xyz/block/trailblaze/report/RunReportGenerator.kt. 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":"trailblaze-report/src/main/java/xyz/block/trailblaze/report/PerformanceAnalysisGenerator.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"901fe9b0d3a339f41ffc6a8e5f1e78559e5d3c5381fef42a4d4c121c889595ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060progress != null \u0026\u0026 progress != lastProgress\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DaemonClient.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/cli/PlaywrightInstallWaiter.kt. 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DaemonClient.kt"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41394fc29f4fce9bbbf8e8200dcc78cae467403ed00d5a3703f4d9ae72a2d19"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw == \u00221\u0022 || raw.equals(\u0022true\u0022, ignoreCase = true)\u0060 appears character-identically in 3 files \u2014 trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/BaseTrailblazeAgent.kt, trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/TrailblazeAgentContext.kt, trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/ToolMemoryInterpolation.kt. 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/BaseTrailblazeAgent.kt"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23b9ca293ef79e319dca08e65631158867fb53867417d028dbc081d3e0e5dfa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060raw.startsWith(\u0027\u0022\u0027) || raw.startsWith(\u0027\\\u0027\u0027)\u0060 appears character-identically in 2 files \u2014 trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/inprocess/InProcessShellPackager.kt. 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":"trailblaze-android-gradle/src/main/kotlin/TrailblazeTrailmapToolBundling.kt"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31bcc4244c4b1bf8e0678b16a3cfa9faddeaf465488f67f2565eeb402215de3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ref.startsWith(\u0022http://\u0022) || ref.startsWith(\u0022https://\u0022)\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/host/golden/SnapshotBaselineSource.kt. 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"5094075d652d283d6ed4ac4b45de3356c264eeb4aeeca16702d948e60ff50acd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060reply != null \u0026\u0026 reply.startsWith(\u0022IDLE\u0022)\u0060 appears character-identically in 2 files \u2014 trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/InProcessIdleSettleClient.kt, trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt. 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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/InProcessIdleSettleClient.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a91efdcc97866e0242ec5f5138a2fd1ce49e921bfd8b47173584aae4697c51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060requiresHost \u0026\u0026 !preferHostAgent \u0026\u0026 driver.executesToolsOnDevice\u0060 appears character-identically in 2 files \u2014 trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolMeta.kt, trailblaze-scripting-mcp-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/scripting/mcp/TrailblazeToolMeta.kt. 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":"trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolMeta.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1731d4e762029be83760765838e73d4bea79969f0ecc097376934237675b3fb0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.exitCode != 0 || output.length() == 0L\u0060 appears character-identically in 3 files \u2014 trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/MuxToMp4Consumer.kt, trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/PlaywrightVideoCapture.kt, trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/ScreencastFrameMux.kt. 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":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/MuxToMp4Consumer.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"051b6eaa42063ceb5ec505daccfb3f5c88897b0d93b3615f0fd24d105285d370"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060screen.deviceWidth \u003C= 0 || screen.deviceHeight \u003C= 0\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorSuggestCommand.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointMigrateTrailCommand.kt. 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorSuggestCommand.kt"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb30ddaf0ebf9304861b98abf53af27d6a828827b3b9d907fd38664f668e114d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060segments.size \u003C 3 || segments[1] != \u0022tools\u0022\u0060 appears character-identically in 2 files \u2014 trailblaze-common/src/commonMain/kotlin/xyz/block/trailblaze/config/ScriptedToolNameDiscoverer.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/ToolCatalogBuilder.kt. 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":"trailblaze-common/src/commonMain/kotlin/xyz/block/trailblaze/config/ScriptedToolNameDiscoverer.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b0d30e426a88246500b9f9c7224f7e925048e7b7cbac38e1850a4edc4cf509"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060segments.size \u003C 3 || segments[1] != \u0022toolsets\u0022\u0060 appears character-identically in 2 files \u2014 docs/generator/src/main/java/xyz/block/trailblaze/docs/TargetToolBaselineGenerator.kt, trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/ToolSetYamlLoader.kt. 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":"docs/generator/src/main/java/xyz/block/trailblaze/docs/TargetToolBaselineGenerator.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59564bf1e6f35c8c49902d8e5683775116efdbd47352404a0bc0ff33d9a3e16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060segments.size \u003C 3 || segments[1] != SCRIPTED_TOOLS_DIR\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/HostScriptedToolLauncher.kt, trailblaze-scripting-subprocess/src/main/kotlin/xyz/block/trailblaze/scripting/subprocess/McpSubprocessSpawner.kt. 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/HostScriptedToolLauncher.kt"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b843e9fde163d7a850faf4f4352b15f5a3ec66ae40a5c281682b208e7ba39c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session.contains(\u0022..\u0022) || session.contains(\u0022/\u0022) || session.contains(\u0022\\\\\u0022) || session.contains(\u0022\\u0000\u0022)\u0060 appears character-identically in 2 files \u2014 trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/LogScreenshotPostEndpoint.kt, trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/LogTracePostEndpoint.kt. 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":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/endpoints/LogScreenshotPostEndpoint.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c70a90a9d48e59414d9f39c068b91f68a329833ced981be0304d1cdc4370f75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060settled || System.currentTimeMillis() \u003E= deadline\u0060 appears character-identically in 2 files \u2014 trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/trailhead/TrailheadLanding.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/trailrunner/RunRoutes.kt. 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/trailhead/TrailheadLanding.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"be04c84fd60f8b8d1f36bf6388183c7fb21609a000d6de5976abfbed2fd5bac1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status.state == ExecutionState.RUNNING || status.state == ExecutionState.PAUSED || status.state == ExecutionState.NOT_STARTED\u0060 appears character-identically in 2 files \u2014 trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt, trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt. 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":"trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/progress/ProgressSessionManager.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b605c175bc3f8abb6ec1ce021f12c345a3d855ca4c9d85cbb58e8ef6eff520d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060supportedDrivers.isNotEmpty() \u0026\u0026 driver.yamlKey !in supportedDrivers\u0060 appears character-identically in 2 files \u2014 trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolMeta.kt, trailblaze-scripting-mcp-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/scripting/mcp/TrailblazeToolMeta.kt. 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":"trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolMeta.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c900ffddf343ff08f84de334e3883e4ff6286fed78b2d29f3e733e2c1e9ec54"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060supportedPlatforms.isNotEmpty() \u0026\u0026 driver.platform.name !in supportedPlatforms\u0060 appears character-identically in 2 files \u2014 trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolMeta.kt, trailblaze-scripting-mcp-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/scripting/mcp/TrailblazeToolMeta.kt. 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":"trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolMeta.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d6ae99d8c9e64388dbb246be0179f8a73b681c6d58ea51335e81c42aa5f7fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060t.name.endsWith(\u0022ProcessResources\u0022) || t.name == \u0022preBuild\u0022 || t.name.endsWith(\u0022SourcesJar\u0022) || (t.name.startsWith(\u0022merge\u0022) \u0026\u0026 (t.name.endsW\u2026\u0060 appears character-identically in 2 files \u2014 trailblaze-common/build.gradle.kts, trailblaze-scripting-bundle/build.gradle.kts. 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":"trailblaze-common/build.gradle.kts"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7ea2ff1a030c220915e2e4f2478d214c14bfcbe3c79cc46b6dc390eea46247"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target == null \u0026\u0026 daemonCall.pin != null\u0060 appears character-identically in 2 files \u2014 trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt. 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":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f8b2321424f691c0ab7d4c8164e122f6d23d1ed4b80d023428efee33f620cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool is HostLocalExecutableTrailblazeTool \u0026\u0026 dynamicRepo != null\u0060 appears character-identically in 2 files \u2014 trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt, trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt. 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":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":2890}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b945dc4b9a4c8340261b6095319662dabb5cf6d38ae374b5952522952131c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toolName.endsWith(\u0022.yaml\u0022) || toolName.contains(\u0027/\u0027)\u0060 appears character-identically in 4 files \u2014 build-logic/src/main/kotlin/TrailblazeBundledConfigTasks.kt, trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailblazeProjectConfigLoader.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/DaemonScriptedToolBundler.kt, trailblaze-trailmap-bundler/src/main/kotlin/xyz/block/trailblaze/bundle/TrailblazeTrailmapBundler.kt. 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":"build-logic/src/main/kotlin/TrailblazeBundledConfigTasks.kt"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8922d40bb785747bb3a027ccb3ce2d1306dfde2d50e70226415192f864e4082"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trailmapDirectoryName.isEmpty() || trailmapDirectoryName.contains(\u0027/\u0027)\u0060 appears character-identically in 2 files \u2014 trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailblazeTrailmapManifestLoader.kt, trailblaze-models/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/ToolYamlLoader.kt. 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/project/TrailblazeTrailmapManifestLoader.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f1d4bb46cbe5379a02159292c522a1882b9e350a20e57005a32266937adc6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tree.driverDetail is DriverNodeDetail.AndroidAccessibility || tree.driverDetail is DriverNodeDetail.AndroidView\u0060 appears character-identically in 2 files \u2014 trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/AssertVisibleTrailblazeTool.kt, trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/TapTrailblazeTool.kt. 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":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/commands/AssertVisibleTrailblazeTool.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c2ba96bd3cdfe688ae50f6dd0d9a3d436fae3a4d362cb47d586e3cc5748445"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type != null \u0026\u0026 !type.equals(\u0022string\u0022, ignoreCase = true)\u0060 appears character-identically in 3 files \u2014 trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolDescriptor.kt, trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/scripting/LazyYamlScriptedToolRegistration.kt, trailblaze-scripting-mcp-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/scripting/mcp/McpToolDescriptors.kt. 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":"trailblaze-quickjs-tools/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/quickjs/tools/QuickJsToolDescriptor.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cf81a55ce4b641869dcb2b098966ea589e336a670b117884d1c729805475f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060xStr.endsWith(\u0022%\u0022) \u0026\u0026 yStr.endsWith(\u0022%\u0022)\u0060 appears character-identically in 2 files \u2014 trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/MaestroCommandConverter.kt, trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/MaestroCommandToIosDriverActionConverter.kt. 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":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/MaestroCommandConverter.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13eb97af6967b8c5bbd3d1e721b94646062174bfa4b69e30e29deb4e22fa1e0"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060stringCount\u0060 is read from the bytes being parsed at line 134 (\u0060int\u0060), then used to size a \u0060IntArray\u0060 at line 140 \u2014 and nowhere in its scope is \u0060stringCount\u0060 bounded from above \u2014 compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an \u0060OutOfMemoryError\u0060 or, negative, throws \u0060NegativeArraySizeException\u0060 out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060stringCount\u0060 against the bytes actually remaining and a maximum the format allows before allocating."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-inprocess-apk/src/main/kotlin/xyz/block/trailblaze/inprocess/apk/AndroidBinaryXml.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee745c1550f65d151dd58d4dadf0f74a09657aa9d3849b62815752a9c60c364"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060YamlJsonBridge.jsonElementToSerializable\u0060 is public and takes \u0060jsonElement: JsonElement\u0060 from its caller, and it calls itself at line 51 with a piece of \u0060jsonElement\u0060 (and at line 52) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060YamlJsonBridge.jsonElementToSerializable\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060YamlJsonBridge.jsonElementToSerializable\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/logs/client/temp/YamlJsonBridge.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"697675931b89376b96ed0e601a30b08590f4a10bd271a300dfbb80d9a6185b8d"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060eventLines\u0060 is exported, takes a document from its caller (line 906) and hands it to \u0060emit\u0060, which calls itself at line 913 (\u0060emit\u0060) with a piece of \u0060v\u0060 (and at line 918) \u2014 and nowhere in \u0060emit\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060emit\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-compare-model.ts"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"a435012e01cb3138bda2b002c0ea99505e67177035555316ab3b22ee710dd13b"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060mergeWebHierarchyBounds\u0060 is exported, takes a document from its caller (line 447) and hands it to \u0060compatible\u0060, which calls itself at line 471 (\u0060compatible\u0060) with a piece of \u0060a\u0060 \u2014 and nowhere in \u0060compatible\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060compatible\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"46deedd6fbbfd220ba5afa4d86888b290f7bcab504f3f68b22ea1aa86d3abf1f"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060mergeWebHierarchyBounds\u0060 is exported, takes a document from its caller (line 447) and hands it to \u0060graft\u0060, which calls itself at line 481 (\u0060graft\u0060) with a piece of \u0060a\u0060 \u2014 and nowhere in \u0060graft\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060graft\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbd7411c646aae53322fd531f386156e34495c2261d22dcfc6fb72afb60a524"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060inspectorModel\u0060 is exported, takes a document from its caller (line 158) and hands it to \u0060walk\u0060, which calls itself at line 179 (\u0060walk\u0060) with a piece of \u0060raw\u0060 \u2014 and nowhere in \u0060walk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-inspector.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7265b178357286fa193d8ef0fd5ee9dff77067c40fd2028961403812cebe01"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060jsonToYaml\u0060 is exported, takes a document from its caller (line 275) and hands it to \u0060append\u0060, which calls itself at line 292 (\u0060append\u0060) with a piece of \u0060element\u0060 (and at line 305, line 308) \u2014 and nowhere in \u0060append\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060append\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"335fb73cff9148b735669d1d6f6da898072f2b624c7180542620dcab90158df0"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060findAttachmentRefs\u0060 is exported, takes a document from its caller (line 246) and hands it to \u0060walk\u0060, which calls itself at line 250 (\u0060walk\u0060) with a piece of \u0060v\u0060 (and at line 253) \u2014 and nowhere in \u0060walk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c230bdfb7c5159afd03decdfdd95ef96eda73bab7c595d696b3678362f8ca936"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060interpolateVariablesInJson\u0060 is public and takes \u0060element: JsonElement\u0060 from its caller, and it calls itself at line 504 with a piece of \u0060element\u0060 (and at line 507) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060interpolateVariablesInJson\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060interpolateVariablesInJson\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/AgentMemory.kt"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c6bfe97f938464b4540d6e256bcc8c11659bb0506bea93f7953f2929bd3f61"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060withCredentialFieldsMasked\u0060 is public and takes its \u0060JsonElement\u0060 receiver from its caller, and it calls itself at line 32 with a piece of its receiver (and at line 35) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060withCredentialFieldsMasked\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060withCredentialFieldsMasked\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/toolcalls/CredentialFieldNames.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc814f50ba9dedb14861e52e25e49acb25c55e595b91e24de6b6995c0ada1627"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060AttachmentRef.findAll\u0060 is public, takes a document from its caller (line 119) and hands it to \u0060walk\u0060, which calls itself at line 125 with a piece of \u0060el\u0060 (and at line 127) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060walk\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060walk\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/events/AttachmentRef.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"6416077b8ee8c80992b966bc806c4029808333cc59801f50db189e3f4bf39e76"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060callTool\u0060 is public and takes \u0060arguments: Map\u003CString, Any ?\u003E\u0060 from its caller, and it calls itself at line 222 with a piece of \u0060arguments\u0060 \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060callTool\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060callTool\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5356ecbe9f5d98062f02678276f88aec519f06197fecc8640ce60af987385054"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060KeyValueParser.jsonElementToAny\u0060 is public and takes \u0060element: JsonElement\u0060 from its caller, and it calls itself at line 97 with a piece of \u0060element\u0060 (and at line 98) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060KeyValueParser.jsonElementToAny\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060KeyValueParser.jsonElementToAny\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/KeyValueParser.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0204e018acbf7e37dc5a8cb6a5aee9416ddf15bb0b0d80ddff6ab60e1cbd3b"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060TrailheadMatchKey.digestArgs\u0060 is public, takes a document from its caller (line 53) and hands it to \u0060TrailheadMatchKey.canonicalJson\u0060, which calls itself at line 66 with a piece of \u0060element\u0060 \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060TrailheadMatchKey.canonicalJson\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060TrailheadMatchKey.canonicalJson\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/trailhead/TrailheadHandoffStore.kt"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2de8448a9a0b5189a2474936c8842ea0d22bd9726fb1edc7268d10dfc1712e"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060toolDecodeFailureReason\u0060 is public, takes a document from its caller (line 15) and hands it to \u0060collect\u0060, which calls itself at line 19 with a piece of \u0060value\u0060 (and at line 20) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060collect\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060collect\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/ToolDecodeFailure.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b532765e77a24e2ec0c742e287f020a752daf638b23d6678a62224d6ab0260ce"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060scrubSensitivePayload\u0060 is public and takes \u0060payload: JsonElement\u0060 from its caller, and it calls itself at line 265 with a piece of \u0060payload\u0060 (and at line 268) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060scrubSensitivePayload\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060scrubSensitivePayload\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/ToolMemoryInterpolation.kt"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cbcaf119341c9d96b10d384538d8e6ff4a6667f5930c5d98039d71b5083345"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060maestroLaunchArgumentSecrets\u0060 is public and takes \u0060value: JsonElement\u0060 from its caller, and it calls itself at line 45 with a piece of \u0060value\u0060 (and at line 48) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060maestroLaunchArgumentSecrets\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060maestroLaunchArgumentSecrets\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/maestro/MaestroLaunchArgumentRedaction.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60d9149d514c4bceadc280b53193059586a5810dbf56ffc092f0c26ba5dbf32"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060maestroLaunchArgumentSecrets\u0060 is public, takes a document from its caller (line 38) and hands it to \u0060argumentValues\u0060, which calls itself at line 60 with a piece of \u0060value\u0060 (and at line 61) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060argumentValues\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060argumentValues\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/maestro/MaestroLaunchArgumentRedaction.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"570d7947086fdbda35ce24369e896dff27654e63a13d6db0d6e9397ededd8c3b"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060maestroAuthoredLaunchLiterals\u0060 is public, takes a document from its caller (line 67) and hands it to \u0060authoredLaunchArgumentPairs\u0060, which calls itself at line 106 with a piece of \u0060authored\u0060 (and at line 109) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060authoredLaunchArgumentPairs\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060authoredLaunchArgumentPairs\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/maestro/MaestroLaunchArgumentRedaction.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d717bf0ebcebaae23b2a508f8fb76dba1826214e0c019d5e041efeaa45fbe9"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060withKnownMaestroLaunchValuesRedacted\u0060 is public, takes a document from its caller (line 129) and hands it to \u0060scrubKnownValues\u0060, which calls itself at line 145 with a piece of \u0060value\u0060 (and at line 148) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060scrubKnownValues\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060scrubKnownValues\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/maestro/MaestroLaunchArgumentRedaction.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51725d68cdaf47e7ed3cda75e9f99743eeb7ab4c567a8013cb84fb36105acb7"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060withMaestroLaunchArgumentsRedacted\u0060 is public, takes a document from its caller (line 121) and hands it to \u0060redactLaunches\u0060, which calls itself at line 191 with a piece of \u0060value\u0060 (and at line 202, line 204, line 207) \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060redactLaunches\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060redactLaunches\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/maestro/MaestroLaunchArgumentRedaction.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff45f32b19ee4954e7bc22b2cab03006943fe873ded50efca4bfb6db3c539b4"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060EventStreamScanner.needlesFor\u0060 is public, takes a document from its caller (line 253) and hands it to \u0060EventStreamScanner.collect\u0060, which calls itself at line 266 with a piece of \u0060element\u0060 \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060EventStreamScanner.collect\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060EventStreamScanner.collect\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/events/EventStreamScanner.kt"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5afbaf85e8b683b548fef4f1419d91aedd0ad3c3c05d0e643d57c57a33cd1e"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060ScriptedToolSchemaRefFlattener.flatten\u0060 is public, takes a document from its caller (line 65) and hands it to \u0060ScriptedToolSchemaRefFlattener.resolveObject\u0060, which calls itself at line 108 with a piece of \u0060node\u0060 \u2014 the function is not \u0060tailrec\u0060, so every call is a real frame \u2014 and nowhere in \u0060ScriptedToolSchemaRefFlattener.resolveObject\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a recursive walk throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25; Android\u0027s threads are smaller). kotlinx.serialization\u0027s \u0060parseToJsonElement\u0060 accepts nested arrays to any depth and Android\u0027s built-in \u0060org.json\u0060 sets no limit, while Jackson 2.15\u002B stops at 1,000 \u2014 on a cold JVM past the point the walk fails; Gson 2.12\u002B and Moshi stop at 255. \u0060StackOverflowError\u0060 is an \u0060Error\u0060, not an \u0060Exception\u0060: a \u0060catch (e: Exception)\u0060 around the call does not stop it, and on Android an uncaught one ends the process. Thread a depth argument through \u0060ScriptedToolSchemaRefFlattener.resolveObject\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack or a \u0060DeepRecursiveFunction\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/commonMain/kotlin/xyz/block/trailblaze/scripting/ScriptedToolSchemaRefFlattener.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7803f5bd9d5495370863ff1cf96fb65ae90d75ddc41f2a2e0d5cf84b1a22b5a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060redactSecrets\u0060 is exported and takes \u0060args: Record\u003Cstring, unknown\u003E\u0060 from its caller, and it calls itself at line 77 (\u0060redactSecrets\u0060) with a piece of \u0060args\u0060 (and at line 78) \u2014 and nowhere in \u0060redactSecrets\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060redactSecrets\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/parse.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f58ce25786e733656c75664d5798c22fd3e7173826a902707d0f759b2a01ae3"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060matchNode\u0060 is exported and takes \u0060node: HierarchyNode\u0060 from its caller, and it calls itself at line 168 (\u0060matchNode\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060matchNode\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060matchNode\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/waypoints.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09e59e6eca6fe2808b27cde768b5ccf0e64bf959cc8d818525c6e66da3f5b11"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060anyNode\u0060 is exported and takes \u0060root: HierarchyNode\u0060 from its caller, and it calls itself at line 175 (\u0060anyNode\u0060) with a piece of \u0060root\u0060 \u2014 and nowhere in \u0060anyNode\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060anyNode\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/waypoints.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4cae796c53da3f273346ba93c2f6c8a145a4779c19cebafdaa509942a152e9"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060matchScreen\u0060 is exported, takes a document from its caller (line 187) and hands it to \u0060unverifiable\u0060, which calls itself at line 199 (\u0060unverifiable\u0060) with a piece of \u0060sel\u0060 \u2014 and nowhere in \u0060unverifiable\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060unverifiable\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/waypoints.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"88735c4d6bff332259a61af021550513eae3bf79109ecb6518a71e6967887fa6"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060redactDeep\u0060 is exported and takes \u0060v: unknown\u0060 from its caller, and it calls itself at line 37 (\u0060redactDeep\u0060) with a piece of \u0060v\u0060 (and at line 44) \u2014 and nowhere in \u0060redactDeep\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060redactDeep\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/snapshot/redact.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"886a80d41bc3599f8c0d8bbb96538acaeb869f610af2472bff9d463544c7910e"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060withRefs\u0060 is exported and takes \u0060node: TrailblazeNode\u0060 from its caller, and it calls itself at line 125 (\u0060withRefs\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060withRefs\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060withRefs\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/trailblaze-node.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b29c7d9a61174f362a3ae01f3f5c1ca72233b4a64c09bcf3f7444f12542059b"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060aggregate\u0060 is exported, takes a document from its caller (line 133) and hands it to \u0060aggregateInto\u0060, which calls itself at line 144 (\u0060aggregateInto\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060aggregateInto\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060aggregateInto\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/trailblaze-node.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6ee69b12dc846907970d0d6ecd32d3cc575e11ab285e0567a2bd79e427f32f"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060findFirst\u0060 is exported and takes \u0060node: TrailblazeNode\u0060 from its caller, and it calls itself at line 167 (\u0060findFirst\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060findFirst\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060findFirst\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/trailblaze-node.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1531d3a7d91e20ca9982ece062e94c792bfb0d1ba3063285813878ac74d98558"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060findAllNodes\u0060 is exported, takes a document from its caller (line 180) and hands it to \u0060findAllInto\u0060, which calls itself at line 196 (\u0060findAllInto\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060findAllInto\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060findAllInto\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/trailblaze-node.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9fcd2f9b49f32e31c76e62de49134988d4d47e95b4c990c247ec8e9e6de67e"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060hitTest\u0060 is exported, takes a document from its caller (line 218) and hands it to \u0060visit\u0060, which calls itself at line 269 (\u0060visit\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060visit\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060visit\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/matcher/trailblaze-node.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a6876c7af6cee150cd64263a997b220b4057011729e9393663a3124ac028c"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept an AbortSignal or the coroutine\u0027s cancellation: Only 26/64 functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http; Ktor, OkHttp newCall, URL streams) accept an AbortSignal or the coroutine\u0027s cancellation or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, a cancelled request, a shutdown, an expired deadline. Take a \u0060signal\u0060 () and hand it to the request; in a Kotlin suspend function, make the request with a call that suspends \u2014 Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 that cancels the \u0060Call\u0060 \u2014 not a blocking \u0060execute()\u0060: \u0060withContext(Dispatchers.IO)\u0060 moves the call off the caller\u0027s thread but does not make it cancellable; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"21eeee9e423271c6ca8c1585dbd13becefdff0bcb29bcd0381c3b54ed97e04fd"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: executeFetch: \u0060executeFetch\u0060 suspends, but makes its request with \u0060newCall(\u2026).execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-scripting-fetch/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/scripting/fetch/OkHttpFetchExtension.kt"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6ae4876c2b4f99b56c6df4a9331c99de3048ff2e68747d47711dfd2cec57a1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: safeJson: \u0060safeJson\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0435b1f2fa88814d2bf2f6df51516daa8945148fd6902d0f8b32e1cbf6834e6e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: safeText: \u0060safeText\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de9bdaac2029e23ebcdc0b1d81137210f2ea18f329994b39f4bf9f5f2e1ba51"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: importSessionArchive: \u0060importSessionArchive\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccc76e1793b942aa710f3c7e61489b8409a51c59abafd2be939f57a630c7786"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: reviewSession: \u0060reviewSession\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e58ec53af0f042bd23bd6bf2c0a3d86b83e5276ab69b15edabf11f76ab4896c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: createBundle: \u0060createBundle\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b4ff4103e90a7b04a6407f79938c7dfcf79642351373e488a3abb896506ed0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: deleteTrailFolder: \u0060deleteTrailFolder\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"621889939ee76e6afe5ac7a89a2979523d7135bcf5e1d6262b03ff69a4de1ed9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: revealTrailFolder: \u0060revealTrailFolder\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"778564318bd907ccb41aa03ce52f0f83b7eaaf16b4b6aaa1c6e060bd9d27dbb0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: saveTrailFolderFile: \u0060saveTrailFolderFile\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09ae0f0046e6c8e63224f2077d7abb01ddda1fb7ab4f6a9337f547390983831"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: deleteTrailFolderFile: \u0060deleteTrailFolderFile\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"3382d86b3d7cafb8a9ef584fe416e11fe891d13268c3539450aef0531082e928"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: recordTrailFolder: \u0060recordTrailFolder\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"db487c952b0461ed71513257703a38b0f6df17e74860814683c47132a78a808d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: recordTrailRange: \u0060recordTrailRange\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d5fd05b1410e701b65289e27b0eeeb56399a3b6cfc4243596f1140990bab37"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: recordScreen: \u0060recordScreen\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f5b3217eb5026eafe60ba0e1779705f428e2e4be77389ff56f1dbc6d1d406e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: recordTree: \u0060recordTree\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceaadf83411c59d19a7ad91a52cb7bba29d5866201fe33de70684d05a72df82e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: recordSelectorAdvice: \u0060recordSelectorAdvice\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58b4f8a22607e48e90cf388448b41f4a9fe17c87f866ae399b23f3226a33a12"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: recordDisconnect: \u0060recordDisconnect\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fa11fe8a4595a2196d71286e94c8439727d0cdadcbad6e46eb27dd8a414958"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: recordToolParams: \u0060recordToolParams\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"952406a01e69cde2318fc0b270b6d005892de6e16d44e4ba3efc11c4c30dc811"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: scriptedToolParams: \u0060scriptedToolParams\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c7d11845a0d9d801d8c3592bc0d8ff757de213ab9b71495ff89b027326045f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: toolToolUsages: \u0060toolToolUsages\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"800b6ebdad5eb5314c2b431da35b6fd57b5c109a4e49b78756cb6bb784f35cc6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: toolToolUsageCounts: \u0060toolToolUsageCounts\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c705b78e1328820f377533843ededc3c6140c33113acd2fc1a5238ef5fb83ec"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: cancelExternalAgent: \u0060cancelExternalAgent\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"132270ec25a1444ca1db34b9502c064539da2ce17f93b936a2631ddabdc4320d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: replyExternalAgent: \u0060replyExternalAgent\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2b8e991688530d5e3f1d8a795a401c17bc20c29c57c0014530338f03430de0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: demoMarkStart: \u0060demoMarkStart\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efe86910e77a7dc659c2d28dca66f62ab3b949e67fac98018792dc026972197"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: demoFinish: \u0060demoFinish\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dbce14cea48043a79f0595bdfcb6ab6b51dfb30429fcaaec9666025a0b37d7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: demoGenerate: \u0060demoGenerate\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3a38769b08e8ba6347945307fdda270fd282e550dfa0129f1078e8888d52a6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: demoDeleteStep: \u0060demoDeleteStep\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a41941e417c7206591d8169b36f7bd3fdafb0d9b435389acbe12644b9dbf459"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: demoAddPlatform: \u0060demoAddPlatform\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc4247d4878fd02ef326a096e01797b73e3b713acfa0bcd730b4a92ce6596c6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: demoRevealBundle: \u0060demoRevealBundle\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f31bf2e49acdee03f5125ebe907576f8b636e294161076bad824908f51b2e18"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: decideExternalAgentPermission: \u0060decideExternalAgentPermission\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a9b8a211663698a6f6d9a369787e77fa98f7e4bfd8a95fd742066b89adf99b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: setExternalAgentAutoApprove: \u0060setExternalAgentAutoApprove\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22970bad913931b42570ac217049c67e484a5dc3155a379260e2649561e4ada"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchTrailContent: \u0060fetchTrailContent\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d24e7a52c796ac4e84c41ed71359fd63aa159cfaf3782c8ef7222b003ca2ab"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: companionRevealFolder: \u0060companionRevealFolder\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67133571a6b5a2d414482a214cdf867721a43266353767c8bbb207eb222485e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: companionOpenFile: \u0060companionOpenFile\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21e006e7606185f97851f4ec05ec68f07fe93204fd2ce4c55c65ab4086813ba"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: companionUserAction: \u0060companionUserAction\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7a039fa8956e2fe81e1b10a19c567cb008b80187fc1c5b1206c4e5d9932ff2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: companionSaveRecording: \u0060companionSaveRecording\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"65121636d668d47b724eb8dc8016496453e86d5149c5cba3a1316c899ae455a6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: saveRunShareHtml: \u0060saveRunShareHtml\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/share-export.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0f0f579d595555853f9465c062340ce9d88e21046802f866cfa0792b82f1ca"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: rpc: \u0060rpc\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9d6542f1f9b14130d07eccbbb45e38fa0f52cd493e76c32b1b287ddff96219"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: downloadToTempFile: \u0060downloadToTempFile\u0060 suspends, but makes its request with \u0060URL(\u2026).openStream()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/MobileDeviceUtils.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ba75f7d34dd39b9df511cb3206a05f3ee20818e5d8429e5457f2cc99c79b7f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trails/config/trailmaps/clock/tools/clock_android_launchApp.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d058a5888681a887badd92168e7cc4e36667a4d0fb228f5fe6c1439bdac20342"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailFormatYaml.kt"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"2186777c1b6fa1f45a70f237e0826549560d2d5e83d3d81e82a2fc0f75d7364e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trail-format/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailFormatYaml.kt"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"766ecdb119f3cd33bb447867354b6ce44c493c8448ae8af4210c1f3978de5c83"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-trail-format/src/androidMain/kotlin/xyz/block/trailblaze/util/Console.android.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"35aa8ddf5cce636947c62685597c3bffbf7c1bae99fb94708816613011ccbb37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-tracing/src/jvmMain/kotlin/xyz/block/trailblaze/tracing/PlatformIds.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"638bd68a79410a2e5f84e3fcbbc95040849cd915e93d224369deeeac534e77ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-tracing/src/androidMain/kotlin/xyz/block/trailblaze/tracing/PlatformIds.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd31ec60fb46b4f1311b125492455d69717c0894d04fea4c8a2d0d1b17e1324"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/utils/HttpRequestUtils.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ba1a3a99bb2cfa5aef9da1c8ca6cfe99b3c62323c20f351123c68720cbc846"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/utils/RpcScreenStateAdapter.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"090a29120bf77b068d395470f286e1909859d04ec79baf9783ab2a961fa1cf2f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ConfigToolSet.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fef9d3a1c3a58be1d3b44e67832c245702a5fba5ef6f07c5dba09127123ef4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/DeviceManagerToolSet.kt"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b866f058f49717203d1688f80386e88a9a289008879154aa41822df49b12cca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/SessionToolSet.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9d4fa07b7a3b89fe154c32153847b93699d4f0cc3bcf6211f01598a084e82c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f9394b17e26698e101aa2118ada3cc59907799b3c8b92e568d749450c19a95"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0409a4c11b8b5079987d1cec43942cde549f53c9475c97dceec964dd6a630c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe517b82997d3e534fe38cdb748755cdb18a5f6bf6ab41ca6eb920bdeb9321c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/StepToolSet.kt"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c34d64794621bfa9bc215055401193986e6c6940830db99ca5d266aa3a01da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/TrailFileManager.kt"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"493371c0cf2d1e545768b4644edec3b0286b445278b556deb8feafb5b52b00d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/android/ondevice/rpc/OnDeviceRpcWebSocketClient.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80eee4ce6311087581770cc410220005f922019b19359e5545e6c3d6000bf9c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/agent/BridgeUiActionExecutor.kt"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c50a1fe4587122d3f76b109153baac09dd3ce59a146d5f8474e76f92cffdd41"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbf8e26372857da17f49418f178b6b8d97d52d51c0bc9350271d02b1eea0ca7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":2343}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d8228f454547ec5971bbf8a76c5c17f61f5019f04d699d80ff385b9daa7511"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a293419f42b8c78727e2120b38ead0d394c6c33d67c3252a52218fa9e1453f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/logs/server/TrailblazeMcpServer.kt"},"region":{"startLine":3459}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd00b998d37122fdf35ba5c1f852032e5c0f51cfef224d3688ed46a5c9ef9e4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-scripting-subprocess/src/main/kotlin/xyz/block/trailblaze/scripting/subprocess/StderrCapture.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4619ba01e90c012e41f0a947079d400306614513b11d8eaad41da879707c391"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-revyl/src/main/java/xyz/block/trailblaze/revyl/RevylScreenState.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c28ff8d3f7ebe4eeec0be55fe65ef7edd4f6b1b2159697bee15dda1173dbd29"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7badcb3ea599c29ed09acabf730840db8612a798868af06dc55b96b22ef75dec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"55388c597386874cc3e5667847815474e56e7c895bccbad61a5c78de7e7d74c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/perf-viewer.ts"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d3cfaa63816c791d0b3312cd28f1b56b1bee0c7ab76d181e0c8b649624d34c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e4ffefd2adf099e89d3a91825704f59494a9625204b4658b15ca46356577af"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fc9c83f59747f89eb7857534cc28ad4d8575183989d76a3f03329a20fae15f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-clip-player.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"276946bbefcdf171c6c1a5d894904511a979348b995c20094a632e413c5e9a66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-extract.ts"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6b08f537c62e7956c82d3cc9b1bed0dae9f2667b9ec9c6f740761dda312c65"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-payload.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf8ff289c2ce3d068aa401a2bcc57f668b650f00206cde57e5bd7039398b0d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8bb8fad94905b19e29eda64602229ea00896d120b142a359b514965c918ac0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f5747c5e7bcb4d5c429c74e45339d1a47c2b28ecf69eafee4d68f8e35d1e51"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1e895da115b3a8746f629192f8e9536f28e0eb5555b62af59443f26c4561a3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-strings-frames.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a8ede54c0c43063e133178bddbaa1e74a81854a0a51a40277e16cc0c4f4b7c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-strings-frames.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b29ae5a71beecea9b4b3f91d114935d7475cabf67f497aa9603b800c1c1eda"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2468b88d29805acbea010fd8d15f27bd5052781e857d06188db385618c090c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"9172c4ac0dc4e4aa9e2b92aa20db1b1bceb485f7d6f7c9f2f24386fd9d2f4a4d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-summary.ts"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa8770bae2d2fb29d22219936ba7b8446c91c7c733554bd9b698e5d9d5b9222"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7e88787cf879ec75c1800ae2f9af040310b244034212d300dfe97bf9bfbaa0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-theater.ts"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffae4d801b860851aa668ee66d2bda001c4d75bf26b7fdd2e254dd78eb78c59"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2eadc8a434a76e7ac4cfb4b49179543889c467a75c019150bd3133f43a2fa2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"50125f0027890896ff457fd08f7159adaa2c265d4eac25cc8c677cc1491d918e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1a3091f15f3f99d5c8aeea6a1a89fb79114e40cf8c028d0048e69322d83330"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ab37b39e6119c6108f9438c3e104df89659cbba4fd3e255672e7b2a55ef696"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa3fc3023c10a4d57b3af607a028edf7387141ee9349f0d003b6032198b09d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":2446}}}],"partialFingerprints":{"codehealthFindingId/v1":"5448a0ee4a4dc2fb0011594b0a6c51d3eb31c4fb47f9fa93a2f418788b806073"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3281}}}],"partialFingerprints":{"codehealthFindingId/v1":"73448cf6dd9899e68d3d90eb1b7d5ff3ecc4d0929648b97ea0fa304af33e2674"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":3281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8114e41a015b0cc79e14641a27fe7dd17a8b05f89417081f4026f6b7e9b95e5e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":5725}}}],"partialFingerprints":{"codehealthFindingId/v1":"962e63e4cfd9b9d73e2284dae74251e41ce39ae92f29030b24de35402844cd6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":6585}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e8d45d9b66d2f70b43a848ceabbd725cd5e3957181373992428d59816c3533"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":6871}}}],"partialFingerprints":{"codehealthFindingId/v1":"44416697c151816aead11ebe0ae0fdbd8747d0642962b046f79ba4c902acc3a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":6875}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5beddfdabb84fe8cacafded016308bb8a753ae0b099bda1c6420e7399bada0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":7048}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a25f9a6fa78453593acd5a52d2f0dfcadeab164c4b5eb2aa6a5444d80a8dbaa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10d393ea2a372e7046aab1de4538073aa13920b4b5cea5eebec044fc981b5be"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8242}}}],"partialFingerprints":{"codehealthFindingId/v1":"37be034aefb2d8890506bca188d67c04914acd80c98bdd58343cc0acb145e74f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":8557}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1b44f96793225d7980f17784b2cc27d474d96a2b8870d72879210d22ac13d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9353}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57821f905c82b72195aec6ae684bbf8986a4ad2058577ba61007375e2bede95"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9358}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e8341f73d4c8681b3fcf7235dd1f6ece3839576d51089ad7c1b4e6cab3dca1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9368}}}],"partialFingerprints":{"codehealthFindingId/v1":"56098aa7c7e74a9a109a1560cfaf624e1bd63f3c08b118d114034a5e2bf24d7a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9369}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3a8ff697eae888a6e31b42fafa73dfc41828e517bd6819c9d30e4730505510"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":9563}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d2e85918d440b3606ba7ce3b22e261f3c1b60eef788cf7d591bab35b1f77f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":10171}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e1afb8a5c738f5f9e966dbf5f50a07b004edfab6ebfdce7cae620158d6f718"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":10953}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0658a2059ab4b5a608743e64c9ec58b2ac01f2f454505360aa48b6be1eb023"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":10956}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e5e9ad33a811520367c5d5661d5004ee9eeec374a2eca87482f1b2cbcb2b9e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11009}}}],"partialFingerprints":{"codehealthFindingId/v1":"de64cc099c5947fb18bfd5e773a8531eac99f07b7c827b04df1ff68c0c35a0aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11148}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e27763f57275ebb63b84893e390e13f3717e2abbf6ab7777ed09604f3520f4f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e070526b0323ddfc0b84338a68c6d34db3adb24638b1cd03854b8e2610ae0db4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e75d9e88a902694e76f636f302c0733d58d5bc462023039889aa3466406c62"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2312bfbf1d9dae6bc46991ecaec490be06a89fedc9a939f53d3f502a15416940"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11164}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4d45f453fcdd0e99c31d8a921f6de0dfa211b212e52727f8a5396bfd778451"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11165}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b778c150dd6c0730fd11a9627b8ebbcdb0d90888dc61ef96a0dc65ec52fc39"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11166}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8752779a4940f175a4e8be651fecac601b4227a82e6bcacf378fa95ae2f623"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-viewer.ts"},"region":{"startLine":11183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1684b63a4b3f0adc2bfbe759e1518118a941f0bebe9b2bce4f5beb7b8e8ebb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(function(){})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5054ddcd151a0d777f4d5d01ca4b5c18fdcbd0fb3621dc7fd2aa914192a8093"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(function(){})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"394eaf32ae56a1e2cb0491b6ad02934569f0badedd56f2620be68ed02484f5a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(function(){})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d23cd874dae83301e56ef4d4aa1d6237b6f973e2873a0edc7f02abced83fd40"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b472c2cf59c3ea2593fc1ab940879a85611adbbfb89e8561a4843764e228a62"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"380bd1549380e608d1c4b99e71086451639a6c285792c6c8d920eac3d68c81db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"004e881749933c407dd5664e83d50cadc19f44e5e4075e61e801330f29bcb06b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8fef1737a55f5f7da70f0d6a52f302ffe6f1efe2fa5d8a8487ec2570c113ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-cli.ts"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e6b80a028d4da17b253afe81aa4c53bfccdd24ada622c5966f9b1314453721"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba6c851a4759c03bf03e8c8e7105bdbe66293488aa4dad976200f79969797a3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"926a146d24eed2328672c80fd8f4da24b9c345830628504e563dc39148f12fa8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0de6cd501630ab06306df001d557cc003b7fcc2b035af997f64ceb543d2cc1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-report/src/main/resources/xyz/block/trailblaze/report/run-report-events.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cefe4bc0d03174f50a86238aa7321e5bb593680b095115f66c999da454bc31"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-quickjs-tools/src/androidMain/kotlin/xyz/block/trailblaze/android/AndroidAssetSurveyBundles.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7068428de0be686b6a5d1d334ed0eae9707d046d7d096bcaa52ba51b07e72f75"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"96406d997381d87890457e8ceea10f964c19f646f11c04532495fe214acee3b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"878bd8133139813c4336d29d9cc8f746ecee095c523797e3b0dd64e739226078"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6908ea68d2bf69fe6729ef4d90edc6ea25c63bab4dda2ae9d7a8659677ef597"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"7968d9cb81757eb1357e968aa097172fa84e6ca29865a284897c29642dcffd8f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e569e546b66e5a607668feaf0e7f7625fb7ae59c0a4e10edb5fbaed6bbbf9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27a698116d959d2a89f03bc48175fc89cbcc37f118b0074c4e8db29d8026f0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"63973af54f410cb37642f470029e2907b505dab0b3fb45d9d67fdf5046adaf95"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0c3fabab3d74d16225d0d2601d6409c782bc0f6fd1808aeb06bacdc41c9726"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66230b8785b3f3d4acaee603a8241476de9a35b64999963073ceb9d6e62fee4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06439821818e70a02932028a87223a275c9fd03ad982339f057430a261565d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightBrowserManager.kt"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"763b2a09c12b9b68397a43a65b3ff0363251f560020ef6a1e16ad9a14db4e244"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46143e353af8328531777ba4201d3a022da67f8b32601b0749a565c2fb99f4c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bb831416e050d621d559be404a86123484030c73ae982cb371b66d4adbf347"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d183801081b4e557d7b7f192f345667138fac34b86563d4686086b0b2d4dd0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a97630cee6031ab81e5d1ac5891e18f1815157ffbe3962d11406f1e7b09caa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e70893bf5dbc1281ed69f886197936cb4fa98efb7fdaead9e52b3174c1778c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightElectronBrowserManager.kt"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd66a888fddd738fa4ecdbd499ceab2a07ebca63b5a6ea3abbd425aa6fb6e73b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightReplayTree.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e0b26d02fa06722474c3515b5e58b727edb8ac89dc8858f1ad5526780f29f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightReplayTree.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7ea9a83cfec8a0d6fa4af7ea22b39c6b7f85805d3f85d67e3a71760b447c06"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightReplayTree.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"210df08730c6e55a29247d29b9fc8966e602fe73f9b229b706880898018ad96a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"87016588b2831518a016af2c00108763c609a69fe2becba1a4bccff16cc05641"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b953eacf5065bcbffe54c0c3960687574bc58829316bec2d3166ffa42a2e58"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aaaa2c3e365b9fc1eb590aa703f19840a90ec4b8dfc749bd5572bec9f2f2dbd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"db58e4e6d3fd876e79fe99957b58edb84c0e6da50d31de0d69477eab8b7b56da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4df1f5a678fe6fff9442f7b43fd62509dd0c7d7aa108fe60a3b09def427b5b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d24d5b8e022ef403866975ed73651f2487e6e01a756ea228a893d682a0068d0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"51377ff0270f5f3eb2db7df1a38e190e167c52a96596c0e9ddfca11a5ed319cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"26faece31efb0480272a7cabf6aaca9fe08f9187199294757b84f85a6c2ae425"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"5846c84d3ae01ab89fdcffbeef80f0d9bfea7e389789e06e3d5aa51c7c26b5d0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f21565869258b4d24a094c6d19474f1b1a2536449c2383e10cc29ac2bc4abb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5371f323e1706a92ef6fa4cb5e52d4aa0f8fe68f99c8bd97378969fd5fe195b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"47dada8612b17374a7e6a01419fac5c5d60902d0b047c3e4fe0518e780fb5d78"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c01540aa29bba3151db960dd3178d2561de429e090c18193e567569aa49784"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"924edb7eadec396aff3e4d721eeeae6e642c2ae01b76248bddd330ec214cbd47"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4bfba6f9c54746093c396746fef44bc81f171927f95370d7913c9b898bf792"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"815d826ba20b3256c0c5cebc9e962f3506b2019e3ee76ecf3219a739f52d0aeb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0d9a955307d880b54f29e02d831556d419a2e48ffa9b8c0f8b8f8179326717"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"93538232b6bfc54fed7abd5d4070d093d924bb4a4b594c67f1aa98fa4217b19d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTrailblazeAgent.kt"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05b0149a93ef0dd74d1ec70c82671fcc7dc8d4afd240e8ff25388373b8c4669"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTreeScreenState.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"66734620b16a945171ff640849c1e9b1033cdd1b02bf60f4cc756ffcf2c3b907"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightTreeScreenState.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ea01cdb22fa4a63dd55028469d3fac55054cc5017731616cf011e9f90b5268"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/TrailblazeToolPayload.jvmAndAndroid.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0675b4e1a62ffebcb1bab5bb7cc364422028506930734568a4b349a08ca7a688"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/ToolYamlLoader.kt"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa4c273713cb782922b89fa9e1b3f34fc5dfde5ee07fb8e85aac4c0354b5c47"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/yaml/TrailblazeRecordingGenerator.kt"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d89b53b2e78981436c9bfc7dbadfa5f5248c4cb949a708b9a110d1263860fe8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/logs/client/TrailblazeLogVisibleStrings.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e70af735b38113332424b73dca8cde211c16ca8017bf5b230ef7a7bfe8a6716"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/agent/ScreenAnalysis.kt"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"67129d605fe1852bc33fde1940db52b36640c4eb267497a949aa243fbc07b3de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/commonMain/kotlin/xyz/block/trailblaze/agent/ScreenAnalysis.kt"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"04edc2ccb2cefe4a2d4b12c3eadb237a8fe5673c15f3a56cb2052d9505d0aea1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/androidMain/kotlin/xyz/block/trailblaze/llm/config/AssetManagerConfigResourceSource.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f69c1b4ae1ad0dbdaf7bb9859c07d818320bac471216c3561889bd4054eee08"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-models/src/androidMain/kotlin/xyz/block/trailblaze/llm/config/AssetManagerConfigResourceSource.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"53544813e64e54dd7848a1c798c83cb35e9df9215cf22c6af21479b7e0c9daf5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4e6bd789c8b156a97cbd7f3774dbe108da38ae8f852f0f1e8b2e1ad3ce299f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee997b44a28d43d34d07566d6e412f4b89ed6ba1b80b05a80b083fbd59f4fd80"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"02abd7aab97ea6d4b12f681259e41179e2409e2ccc740d59b9d3c624565dba30"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c070162edf8c6fd8e38a4c1afbf8dd79091fdb50ca820a16819ff02f50b1058"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2633e779e6b29e44b2b75a60257c92ed3fe2c1d1350baa18c562f0aeecc57e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1bc6ab407e56be6bee01d33071a876c1be9f303ec6ac9ddfb2f5476dca37ae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00efd6452b9002b61659a05c9de8a1b713b5ba0494b601f0003d25896279857"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f75630d72e2f96d9f2ec87f47d5691218e96be414a034df93545854669889c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"0380c2b04b2434e963315aa707bc073c96b5fddf4ac6bcd61078078ed6bf432d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2abbc9f970b753f9972e20c185d0a1f81873b4fff41f33d48c1d108f0e96ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c318b6c16925b76eebe5b640bb24852e865122c649cc50e607c1f6eac81a76"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb927c074fb5a27bbb55cd24188281877ee8211482d73b17796692b49f8e6b12"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"17066a8b1a5e6c23fe7e7e7ffa25382649376aa79a43b8f7ca1d1455ad55ef54"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d962413250b1f8d488063d34bc3a5f02589b0913251683d49137a62f988e6de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5567c2652968357532af3670877fec436839ea48d2b1848df2b229e676dcb9ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d6c3a3620658866bfdbf51be74fe6606fd07d00639061c3b4f0132370b6577"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-hooks.tsx"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe68f94706f40aae2850eb40bc566501e353b9acc5e20fc441996d382aa6ac5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-hooks.tsx"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbc676984dc8617f61683d2ad6ccba8d423de6b4bb774ee5120fdc3882a8c4b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor.tsx"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"737d48294b6aef82108b9dc9877e1e801d117e1c244f839b58160fa987d93547"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/runconfig.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05ab785f777d4d46a8687841dab274a363dc38a1d0b5b835de90d378f396a13"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/shell.tsx"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4f894eddba2aa17ad71da6474a29f5cd6baf0dfe6f487e3135c709b2f6e955"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee80add179af6a020814e049c32f37b7da2a9ceb99fa9d383f51c2094d42e28"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a4b9ed0510776d3ffb9d846a205863d4dafc89300523c012ac71bfd9e8c712"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09fe6fcb68341cea33eaa3714fc5d6b9637fe82d02119edffb094d9bfc4e0d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb1a26d388690de38972a33cd36855e3a0988418bed4019b1c74fa77340d432"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4fe9bd2b4e1cc0082eca224e070e552bdce3da36680ac86ad87ab5ef0e8757"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bf2a6c2bebf6b4796411e1513ba849b0f50d0c4cc3b30196314d8a94c4a025"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d07b6b729e25e3408d66104a7746f22bd3d074f68ec3e9e6665cbb4f24ffb5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"36308562b9cf93ac41cef71f91abdeb2704aaf876c7744245f7d27663f4e8172"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"422dbeebb8bca7aa02606cee011975b057205a2d54b436f5c1897397a7d79f32"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"061cb19920316be27ced2a9a0c34f1e2c3d7149a07dfe66ff9185a59d19c6928"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/live-device-stream.js"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"338e952b41af3daa3af80673cc7d385a91cdfcecb6787cdcf5dae352abe043c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"4192d55c4897e9d21326b2ee7ff3b94cffec3ebe1244f88a3a9b726374e87909"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccd1f08b1ded8b42e7bfc7ce2d41af009e4db97259e8c9c03687e3d1e5ce60b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9e7758831d9f7cbc204c349b22d0fc8322ee716e9fc1be092a91e1bcd58c01"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cbd49ebdc0bc93146345da36c9c42dd1afd80c23398c15571e98e30d8840b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7b2774c136e6139efcbcde478302e4f653e85d9bb00b528e73e5d7acb96810"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/companion.tsx"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a4850825e11c25a9ed009d864f13855cc5f0ddc5cbff050dab3645975c0589"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/demonstrate.tsx"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"701fe5c33e6f7af468d318681a7a8fe5bbc3af2d140a99bcb9ed5c9af6481dd6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbc45f959fe00823a69a12f414185a3288158afbde86ff81e884a34da3b2115"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"719d23be245e72eb2d5dadde52c9e5b33cae4bd545baa7247280aefef33219e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a14d9e01563be9add58bad1f7668c022567c3c3bafebffc779681e9c456288"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5fee83d3aff7d9a276628a390c760229fb0fe01cf597f7ca12360bdf6de4be"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/devices.tsx"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"03788df1b28cae59702dfc47deb9da6af483fd77800837516560ae779d6e3d9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e61b6331ff7b2ecc1e97328d169739d597f5f1ae3300890e96aa7f6fadc951e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2425}}}],"partialFingerprints":{"codehealthFindingId/v1":"73af01afbf03810a49ea6bba6b150efa22df274a9d5215f88d4cca24223c372f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2435}}}],"partialFingerprints":{"codehealthFindingId/v1":"354874089aff0e74dfa5a4d6462d549b74adfa568d7b0d1e47c3db8e61ea66fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ad7ab5e6e559210d58d04f686b7481a5403404c56f74033af36625c7a59a65"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"21cde0ff5d74c5ed07c1aad91babcc4a859a2f50202c291f24a47bc8a7d88b47"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"31669722276b6da142a9011d24d9c3fa2ef0a3c120cf49e5bb7c30234e078fad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/record.tsx"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00244e05e23619ab2735f075aab5aac9be49cc970cfd8c0335bb10a9813dd1b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e070b869abedcb97e47ef565da0eba79386f37e5f9aa07383a478192ec14c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"90941adda04514cbbf15d6a5cb9c76ef4ba6205799941012eb53e1ca2cfc768d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/tools.tsx"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"82696a54904f473c42bb7a94218bf798147ab25f1205550f26a7a1d392d6640a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trail-tree.tsx"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"f178ae30665e1dbbc24eca71f5e4d841402b185fa738a52df74fd38a3e85f06b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c8505f29671d02693749e6dc80031ebd7380d8dfbf0c7efdc44355df091e77"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trailmaps.tsx"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef27f2fcf9c255ef47206e44979e1e19f3de312279d2829123a058ba4400886a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/trails.tsx"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2055ee02726ce8aac7b30f28df0288e264331b51a5e0cba7a7b164bfaca8ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/zip-report.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dd54c648773be23b9723e84a90fcd2b839211fb2f49969e0b08c2c55c7e3a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console-model.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a72a2728d9d886f552c9e663c7f2ec24bb4cc3ce709e368ffa681bc268dcd0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5292c87a20dd16a666e184438fe204206ca82150c86939fb1271034de7df9348"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"9821b317624fdef0a45efd82b65eec80e9f261ea0554c9875427cd9faf5c0cd4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/editor/monaco-lsp.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14a08636503aff4f32d22c09b51a27d4da7975de930e0db363a02fc37fe0380"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/TrailblazeVersion.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"45abbd87a5fcc451e7dbb383f4f38abc111d5d8d40c679faa7c29f8f8624dd23"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/DeviceAppInventory.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadc801172d2a0213b05c7e8d86262f86e6ed617a3ad3b990fad8bd18832260d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/DeviceAppInventory.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"483ff237957f0cb1c67e3679b9522b1209e7e460528166f81913b8e9b02bd646"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/TrailblazeDesktopApp.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a662966757741dd9a6e33307d47527db959a293324041c83a3144d67abee5ff5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/TrailblazeDesktopApp.kt"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"886f4633e911654cf442d4657aad110b6076500e7d2afa1897bcb33d43344d59"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/TrailblazeDeviceManager.kt"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e3a35350363b2969dc71294829f31a0514234d66e7b092fe191db6c2dffa61"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/TrailblazeDeviceManager.kt"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"335789882f61f32f6241d5943a26c885650f1917815e360ca4d1bd84742daba4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/TrailblazeDeviceManager.kt"},"region":{"startLine":2602}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ff312560668f2098a0e49f9f5625d67e3c17771d1167b12dc6bfc71b718e7b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/TrailblazeDeviceManager.kt"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b067790969f069ecc74d1989f38619685a17228b36012fdc70cb126afd571c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/ui/recordings/RecordedTrailsRepoJvm.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99e2fc242c3712119dc9f9ace09b09ae94b2334ba34968c1e6dbf1ca715e7d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/DaemonScriptedToolBundler.kt"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b85653b7c923bfb1ce87e37fcf7f9be45d98319d11b9b586c9b49557776bd87"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/DevicePinLint.kt"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2ba015464019a6b4c0d948a18a1acafa4ff28ab4ce39227c2c0e00fa1946e6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f8a40660261c6191928978fa23f0a3c3f7740f0cc38824cd44e6d2f62d91d4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/TrailblazeHostYamlRunner.kt"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb733a23f940f4f88f355f8062147c9cc9be3b970a180ea06c524452e281058"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/WorkspaceCompileBootstrap.kt"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2a35d27a7852ddfbb07dc94a48817ef5617bc7161162fa8f7d3f2f70102586"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/WorkspaceCompileBootstrap.kt"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d477c14312e8b9a2f540f9feb6f5894d41c1c82204df5afd95e66e26a76562"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/yaml/MultiDeviceConfigurationResolver.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc395bbf4e75d941003ce582b6667db29473b8f186729c4d4200fa80a5bfc1af"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/revyl/RevylHostDriverDescriptor.kt"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc407ab8c6ae34a600d88c10a89ff91457c5cb1aa796fa6e9cceb2fe9263251"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/recording/FrameChangeDetector.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d2eda787f0e4411e0a03f6ddcbd373e0971171520cd0fbfb4b7e2416129b77"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/playwright/PlaywrightElectronHostDriverDescriptor.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bf9f6ef7390f95e51977b07ae8b38a53234c639cfb9a3d81c61a6afd355b43"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/playwright/PlaywrightElectronHostDriverDescriptor.kt"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f881b50f9164acbb2f7188fe724d8c420d984456209ad7769c847db8b3ac3b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/IosHostUtils.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd464cb9dd737cdf2ab9d6f9e447a4341ccdc88b740992dd8495746411aac6cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/ios/IosHostUtils.kt"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"de97e8b548ce802336c8a3671d10996686089804c0c220b6a1bc4ac740fcedd5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/golden/SnapshotBaselineSource.kt"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fcef4a4ef1159cd528ed85bb19f2793f86f996398229fc5f9c4bb92ca42869"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/devices/HostDriverPortUtils.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca006d01ab5a2bb82a4ac87d298d7f9a62a29639843c324dcbe07607639d8ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/devices/WebBrowserManager.kt"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87dfda3a6904ba81891ebd5b11438b848acff0960a38f0ae2dd77e687934eb2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/compose/ComposeHostDriverDescriptor.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b62a8f8b6e8b17db692a8383d2c6d0c70398d2ed99d879367a7166c9eff18c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/host/axe/AxeCli.kt"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"a412f203c9c415911a07e753c267212baab0e7dd38d7206e79542668437995e3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/AskCommand.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b3cdbfcc05c53b7e7ae5c4318508374ea80469f15cace4059da52b00bb7bdf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliConfigHelper.kt"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"71074258110d600c83840bd43cb6628bf261f9c956aa246a8f3bebd8e1d7c8c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"6091a6a365eb64dcda9feec13740d0df459839c2a27ebcee945336c8b7c91f80"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa87ec2de0f533a771f7e548119edad89304fa95b5c154a7e28a47313bdfdb7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd1d389b40ac0d2c1ac8edc56798f3b8b808487383618ce588bec9a87ec21c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d04f2b37586fbec04c540f541f85787364e99110bf9965cbf25476ad461834"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"d105250034e20044a67967e546dca985a7fdeb333448c3305c59661f8a7882e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"769f7e16d7733586c5c48e4c26f389561474f896a2eb94521c5a1d00fa1e6cf4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":2180}}}],"partialFingerprints":{"codehealthFindingId/v1":"206bda917551977e9e6b32b28e3dfcccbb25bea4ecd72b153a8c18478d92d773"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":2984}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d81c5f008e13bac96bd0b17a17290ecbae83c3ec5eafdfc490badf0a380949"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9c7781ab8b93b3317d11cb9ed65dc0bcd97b060a3a15c6c8b439ee5eab723c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"0579eba04e664ff4072050a43ab7ffc7dda5321551eff895659db91b790dee80"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bfc28daa91bdb2b0f7adb94c4c1dde84e4047ea695647ec80996c6a76a8b03"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliMcpClient.kt"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0990a13b5f92049a742c8d6d852303fdf9c40af69d2bda70c473d7a0ba5471"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliOutputFormatters.kt"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad8bc26e984ce8d668026ffd2bd734d670d86cf10342ed95839e1249b9d6c5a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliOutputFormatters.kt"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"4134c12e507da5431c2f143d68cd256b3d00c152eb3cee2da4e228276ca561ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DaemonClient.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc52a292110bb0f9e856d5f3692911e18f4c0060fa5c9e79a733da0d641a32d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DaemonClient.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"49366ff5900dc68cf804f6c59ede37038d1c62b950e0d17629624725eee91c22"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DaemonClient.kt"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"af815fbc88b1e6c72749cbf75325e584d29e8cba369c205012f81f7713e69f26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DaemonClient.kt"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63468606cbae19862c886a556ec99924cd838412d03bbdce8d61ec53af8224e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DaemonClient.kt"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"6707a36ae8f694aaf769a2c60308fa05e07c6ea5783d9c7dd60f097f0d2ea743"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/DeviceCommand.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"30adc909abf5b16c81fedef90a816ed9e2b4e696005ec0b460da2d06fb88b8ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/McpProxy.kt"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"2182786f2f8ca273d7eb1760e011115ad1b4e9f4f062fccbd4519b857fba9ab8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/McpProxy.kt"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"4076dff6a36a915f57c7b5596c9a2cfbf7e6736da714ead1f4ac0de053a51484"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/McpProxy.kt"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"483dc4c0fd9e8371107d54774c2354d1a261c0eefcf730bc5ac5ff11d70eecb9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/McpProxy.kt"},"region":{"startLine":1698}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14f329ac873515feb161f2cb515d5bc4a86ff75c57db8f8c4eb40c3577118c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/McpProxy.kt"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"1710036a943756ad54f8b203772f92919ce381b35b9b38fb495e35ffd16ef792"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ResultsCommand.kt"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a06ef46868c75eb8cf21c578cc3770ba0853e3e8d73a7e3882ae52a5a86f0d5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorCommandShared.kt"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff988cea3821ddac6fe59b53ece1011e44761cab2864f328d0e261a3dfc6e95"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bf2e77a8bdfa91457fa668e1600a6e48516adcca1c7d613dd839b2484cd01e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d9d8728821402b9b744c380056f602ffe82e204df8f9751b6c1da3dd5be3e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"84541642a208faa66d52854145d7631aed49197786b3eafb5d8bf9cdcda8d9e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SessionCommand.kt"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"384c00b2faaf3d06a5d6f8be85ef054b8b01b7b5c63bbeca6f8e20f17a73645d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/StepCommand.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d8ab137c4fa783b6f9c4f282cce6dec1999aa4defb14971c9ed022519a290b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolHelpRenderer.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bdc6ffa0ea58f3c4bb58907d2ede8fcae0e714a125abf721e4e7cb75b4d68a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolHelpRenderer.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf7946e1f928b031f93810936b54f76423ebe33559ea68fbda42595050355bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/ToolHelpRenderer.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"394abb720ee3758cf43606a742a5a5cdf7468182278ee6faeafbf8fd64d020f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"256d979d093c5b26165cc0656968ef45f0140c9fb7539491a9f863a377694288"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":2469}}}],"partialFingerprints":{"codehealthFindingId/v1":"248d684224468542e5c287811954ab0bb6210458d53f711037e989ec95e1e9aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":3881}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21dd6c4ef6dbd84fc0c132c714c1ce950128863ef71c5e50c730148f619b8a2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointCaptureExampleCommand.kt"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb27c0468d5f17c2765cf3eede20912c940cbc44b00317da4cd5ebed369d5103"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointCaptureExampleCommand.kt"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d285a68f73a5df994574d8a42913f5b66eb67cb9a34ad2efede90b8efae3c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointMigrateTrailCommand.kt"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f922223818e17cdd6e6113924a0e362ed3732b5f697fc6c8cb4498d546f22aa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointMigrateTrailCommand.kt"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b529a67ec203c1b7c54889cf87ec59950cda0d2796f526386e352afee2bde67"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointMigrateTrailCommand.kt"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cfce8525cf1e28d29e35f4a759ea43e32dff673f582e62d254120adba3e6c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointMigrateTrailCommand.kt"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42c17f98dc48962f24a37d39087842420d83387d74f377c61c7a544d92e1af5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointValidateCommand.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c583c9f1c104560faa9aaeb16664e744dee2f3ed51f6f38462c7d564cb93f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-compose-target/src/main/kotlin/xyz/block/trailblaze/compose/target/ComposeUiTestTarget.kt"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdd6886cb5c709cb184be1a60a18b67bee43c177180825e66adac4b20b329f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/ComposeTrailblazeAgent.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8bf1073ff3f4d1c1c04f32381506b853e8d52181785b2ff2aa61863b96c313"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/ComposeTrailblazeAgent.kt"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68ef9efa42dc03000d7ff625a824c65288b763c0bf247463c96e9d1f0b7645e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-compose/src/main/java/xyz/block/trailblaze/compose/driver/ComposeTrailblazeAgent.kt"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"7faf3807ed29f07fcc5491dd34707721b4d8a33ac92ab89dda583aa1723c6eb7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/AndroidHostAdbUtils.kt"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"65581d8e096d6760510c1395c29e9a26daaedbe7595441db7cbcdf5bf7279d71"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/AndroidHostAdbUtils.kt"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"481ec983eab95dcd8a596095a33d1f4ec371962f3ca7a2a1b7bb28e5e612be20"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/InProcessIdleApkInstaller.kt"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a01104d6a19aa2c53d27e8eb7c3cd8274965e65cd9e829ed35f3c01e424ab4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/InProcessIdleApkInstaller.kt"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f97b80bfe42ea5c00537e3ea5a7d585ccc06613330a1bb0c2f2aabc53c41ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/InProcessIdleApkInstaller.kt"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"744e6b0285d91be8d23887ab6697b64cd1eed855441de7437a682e4c9598a4dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/InProcessIdleApkInstaller.kt"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb66e103ab0db7fdbfd09180e5f82b7da7e039604b9e79f295ee8b3dcda7c19"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/setofmark/SetOfMarkAnnotator.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3f5d1a207389cb097311a19808af9118ad69da11230908245fcef2c24735e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/yaml/TrailYamlValidator.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6150575a4a88149d0110998e8dc0d669d4c21396001ae0cacd2562714e11fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/waypoint/SessionLogScreenState.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1e8becbbf337faccb43a171d6a1663af261f1e1f4677a1ea3f9ee9f2dde454"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/waypoint/SessionLogScreenState.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f85fabf332ba8d777bf8970a9bdc5f48c07516a256f83d92faaf8f28124da66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/waypoint/SessionLogScreenState.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"91638906e8c756d69d68c3662f2b9bd06dd63cd8693f8f3dc48b940c2f108d4f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/waypoint/SessionLogScreenState.kt"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"0066e77d2e968e5ce516df4cb65c379ed430ea1e7cdb7facf3cd94a5b68cc37b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/waypoint/SessionLogScreenState.kt"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3d085713d1faa3c92ae8e93fa95a1c5ea2fe9f9ada3e69a6a6a4309599fc38"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/util/GitUtils.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37be2847924d680f372bfd6088b8aea97a9256c9223ffebd4b0296908c5c02d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/util/SimctlCommand.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde1a981aa24074ec4157aabe58753a2c98fa1b50888a19fa56deac322ed5021"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/toolcalls/TrailblazeTools.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbb37a330f89efa55b530ba3e60be157463c9e2fb06ef263a8f9d3c21f5485a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/segment/SessionSegmentExtractor.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed44ad6da0bf1fc3288b2f6ed890e955295b917db0918dfc8a2fcc41588215de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/rules/TrailblazeRunnerUtil.kt"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"454a3ed66bd295b125ba0ca1bb07226c60132bc725ff4cb41d2359b8111aa1b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/rules/TrailblazeRunnerUtil.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa09fcbcac486923783dc519246f38f30b11f3ab0aa7741b33f9b1c7addfb860"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/rules/TrailblazeRunnerUtil.kt"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"e451aebab31d94f19ad9d93d08b0a52f4ce3167662a08ff60a34e28bf684e15d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/rules/TrailblazeRunnerUtil.kt"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d5aae64aa09a0fe3f9e3991e9bda4aa68f8e11697e91a9c0e3517272f4f73e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/rules/TrailblazeRunnerUtil.kt"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad7438b2cc32dbc3b06f3d534a6d0a8b43392aa10c13f7a60d8729519e90bb6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/rules/TrailblazeRunnerUtil.kt"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"975ba049efba74916dd3008276badd5b5668b0f0a567e4a4069e616f8f149a58"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/rules/TrailblazeRunnerUtil.kt"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"8493ead063b4d10ae9c10d4db3787379afc9367c15d39f0492e5f164804c238b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/rules/TrailblazeRunnerUtil.kt"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"279bb46088926cd5bb5423e366f3ddd2dd8a9eb4f7e03495e60cafa081188b1a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/rules/TrailblazeRunnerUtil.kt"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba07b979f1cb95321176ad506512daf9aec2bb96e73a9fb19c6c950efa06ba82"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/replay/ActionTrace.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"20de86dc418bf4bd7701f4c9ff4cc105e7c459ac21f972cc910be9e3f1ba6725"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/replay/ActionTrace.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a53ab7e6e951e95d7405f2c0298bbb694f05ce1e73fa71bf1a129c9abdb935"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/logs/client/TrailblazeLogServerClient.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"414aea149cb151e7340b85b6ce5babdc76e6daae30e6a5a8a5be00c299de3b6c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/logs/client/TrailblazeLogWebSocketClient.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec382ea33d36a063368f04fb676c0ee7143d496fdc6efad3804fcf1bedc4938"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/inprocessidle/InProcessIdle.kt"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd5fe5a998e7313da320741333ea7af861fd368f4f1fe590b070221f6fe5bbf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/history/ToolCallHistoryRecording.kt"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee79e50d6a0346d03844b2168a1b4c946cb0cc1a05c96a1db001c0014829926"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/ServedTrailmaps.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a37628e8c1d32558ed43eb9557377195f90c1c2524e782555685448ad03d3e6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/config/ServedTrailmaps.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1781bd4b841649b85c2b9d592df1b66a25fbf3cd66e5fc237095423949153f62"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/compile/TrailblazeCompiler.kt"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"02da3ad15b432ec4900534802b3a7d5c3eaa36d8224be4e80959325a19e75af8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/agent/InnerLoopScreenAnalyzer.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80b17f8efe345e7e58b57d559f48f1187853301fc18c97e8554c7590f2e4789"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/commonMain/kotlin/xyz/block/trailblaze/http/OpenAiReasoningEffortCompatibilityPlugin.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06a983262eee82098d0d9f8dc35380cf96d80e806d00526d146c5f03275104f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/AdbExecOut.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdba750a8a7ca0a119dc68b799d5158ebe9055987f4c4144e8d541029f39a77"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/AdbScrcpyProducerFactory.kt"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"5274cec118a2619a23be8dcc0248d656ca1c1df0095f727d302faa5797acb282"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/AndroidScreenrecordSupport.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c645520632531d6687bb6cf1c5ffcbd66159813ac45c3d8d7aaa58b7ca0eab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/AndroidVideoCapture.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08657e42f34c5aaeee9e0eba6415271fa8dbdf103e6b21ff82b3afd9e3aa887"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/H264Tee.kt"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2725de29ebf3849678919f4d8342770ec0f417285394b4ec54486011c33884"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/IosVideoCapture.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56bc15208aa3a01a8b9c9310359620720f76b164094ec1ad1ccdf59f64ba5c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/video/IosVideoCapture.kt"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb18a8992f886a9249ebd01ed75538f46ce70963279ee891950339e22bf94d7d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-capture/src/main/java/xyz/block/trailblaze/capture/logcat/IosLogCapture.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c101fc9820ce71e02c8b83b12d63b5f0ef217de8d234da7ab8ec7994661a656"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/handlers/RunYamlRequestHandler.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33d354e0c7dcbe6c6864ea1aa6d8ca9643af4cc1896bd58516a39d4fa4d36b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/mcp/handlers/RunYamlRequestHandler.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb0134615fdcfe99b9a7c99aa0a17b751e7353d03c0999aeb43333b24cdc8d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android-ondevice-mcp/src/main/java/xyz/block/trailblaze/android/runner/rpc/OnDeviceRpcWebSocketRoute.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"596c3ecdbfb9eac3d014ecc83263b080bb8db567a114e79f4044fec0b9d79b9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/AndroidAssetsUtil.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3a21eee14ee79281553c465c8abbe9690371c8f1549d891105e3c001d0ada3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/AndroidLlmClientResolver.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f28f70dd7a92ed08b4ae356e630c294c2ba9007101c13f03b753fa6e245dec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/InProcessIdleSettleClient.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"69407425d471481009dfcce52d306bb511f07fdc07cb360fe4a5b2cf398d4736"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/InProcessIdleSettleClient.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1f7767cbaae5587bbc093947ea4f326a9f95fca107974c831334490a0c45f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/ReplayCaptureOptions.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedc9eed2659e96a7f5016a2c502ea02ce0b1601ef9627f6ba60d34e094c07a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/ReplayCaptureOptions.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ce42399f57f1d4a22893efc6fefb7178f2d2430469f78bae6afff3559ee2c2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/SettleSwitches.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"093e8660b7f5b479164bf1e21a5041bc86d8b1b105d52ba2d73e5d49709ef24a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/SettleSwitches.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"088e2fb0c1a203a0ccb33bf742fe60f5205aae250651b37bca917990f9ad70cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc2ae17d99b6a219f82528088d65fe1d292edaf940d0ddad0191770307e6cab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/TrailblazeAccessibilityService.kt"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"61548f241c19420ed71148f4b89a48641c176d02687682ee157e6e8f3db8eb43"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (t: Throwable)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/WindowTransitionProbe.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3bde40b61ffd032106d5e48b230bb5ba613b555a960c9009374042efdb9b22"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-agent/src/main/java/xyz/block/trailblaze/agent/TrailblazeElementComparator.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf189e7e20a9db828af000b5feb73db0094993192d456ff577c2a3a842dea6a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/logger.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0744425569046dae81124aabc3b507b9bcbdc97d77a3396f447760888949620"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/tool-error.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5755276ba5800db5d91b751c7eb1554b0f03a78abc2bc452badb690a3afd83"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/tool.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"201e5d131ab8090f86d4c901b3ccd23549d3ac469eb765cf5751f518813670f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/tool.ts"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97972893b80c99b43b059871cd59523d3011f6e474e36c692dbc33f844aa52a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/trailhead.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13bfce9937be13a2880b7a22d5d0cc2bdd9fba2ac7a2a3c6c9d776d8aa31428"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/derived-files.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa4ab32fe856d46a002b737be0b5a8a48d8c189af7e786c57258871ef1a32b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e10c7fab09961971c9b4f68ec02675ec77a97b2e41596ec73e5f273a16cabf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/parse.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"68537477e3a8bc9048eb1ebf9edc2f8f50068b80b29cef87b1fa50396b806582"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/session.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"364190a45e1df9e5366bc8eeb92e5ef596f589ef9349549300e2b446745b8b73"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stored.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bca75b53d1edae9bf7ffdf9f1f15e4ff347f18b83aadff67a14610432a753ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stored.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15297d9b35b6dc021b747f1cfcab1b5664ede520c66e13c5bba61ea0c964520"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stored.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"c420d916fe7d1d9abdd7e5d2d6c726212fa94630c51deacf08e31df384427da8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stored.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"832ee9c3ec55425fede885c2318f6759c8a3f3f0383236c197e49ce65dbb83ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stored.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b58832b70836ba14e3e3e2759d8980d1349099e5f8d62940022cf9e9bd4bdaa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/stream-write.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fe3343bb1dfcf98649a8ba5c43123cd34717367f93ba0a4c86c974edf55a7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 103 is handed a message assembled at the call \u2014 a string template with \u0060$\u2026\u0060 values in it, a concatenation or \u0060String.format\u0060 \u2014 through SLF4J, log4j 2 or kotlin-logging, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or with kotlin-logging \u0060logger.atInfo { message = \u0022Order moved\u0022; payload = mapOf(\u0022order_id\u0022 to orderId, \u0022status\u0022 to status) }\u0060. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/maestro/AssertionLogger.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5d25310bf3763f5d78082d1f4a113558de031ffa056a70d5d993a0ca9eae84"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightDriverManager.kt"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eccd2a6ee4b5245cfb4d082a902792760ce8d3d83da2a28abe21551d09944f2"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b16d94f21f273ebe58660026288cd8620fe41e261ec65e59717b9bc501ab200"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11652e03cebb5b747030494644b95e66ab70ffc5fca380536702a326699aa81"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"db70a303e7054c5b546029fd902642dd4666c4cc1f7eda239f532bf7e16fe804"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2222}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e2182f114af05e59d1eab6079eba88a74594cceb1313bb37ec63a8a475e539"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":2742}}}],"partialFingerprints":{"codehealthFindingId/v1":"a877de27c08550ff82b45a4a5a173fbfb4d6cc5d38b2dcdc16aeb64fe60800b3"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/sessions.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ed694c8986e1f57e06a457557f5b90d8ce59eecec9b2807744b57290c116ef"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/SelectorCommandShared.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bdae4322cd02326643b482f900dc5f7482fd40fbca26267fc7cf421beacd96"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointMigrateTrailCommand.kt"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9ef53a5edd3cd551ad3989acf7fb9869f7270e17669a430e25f44ceed3ce4b"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/WaypointMigrateTrailCommand.kt"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c6bc032d3d47b4cb43c6958ec488e6aca66e59daa68e3e6f0cb8b14ea03708"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/waypoint/SessionLogScreenState.kt"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"c082cb48846ed980ba7705e3079ec261b1a90dd66147e88b89cb8c52bf9cf2ad"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060sysprop\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/InProcessIdleSettleClient.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcef01a6b4d1ae49896b88fbbfcea8532836aaefede40554e28b5b4cc568cf46"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060sysprop\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/ReplayCaptureOptions.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce55a83a97b58d79c506be3a2c9dca9417b7ddc5dabeecdbf3826c61ac677b43"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060sysprop\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-android/src/main/java/xyz/block/trailblaze/android/accessibility/SettleSwitches.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"188817dc9b9b3df0c65b785afe3691ed44909f46d0d5259dd7664ff9c1a239b6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060decodeTrampolineToken\u0060 answers \u0060\u0022\u0022\u0060 when \u0060IllegalArgumentException\u0060 is thrown, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/device/AndroidDeviceCommandExecutor.kt"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f03e94df324dc7b216a4fa0d694a0e89bff85e51a1fb22277c35d3fc3d1976"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060maestroLaunchArgumentSecrets\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/maestro/MaestroLaunchArgumentRedaction.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f43f37aaf9f28583d8ed41763d09850ad34eddd7af5cdc7c6941be030616f4f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060replayedToolNamesForDevice\u0060 swallows every exception into \u0060emptySet()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/recordings/UnifiedRecordingWriter.kt"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce2f2fbc1f8b45fa0b535a581cd1193540fd7628f15b98c57a3a9c0a877c24f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060sysprop\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmAndAndroid/kotlin/xyz/block/trailblaze/replay/ActionTrace.kt"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b32e781f34b1dabc00937acaf2a25a18c1b164e5a74c840b84d671cafea1a22"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060bundledDetectorFileNames\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/InProcessIdleApkInstaller.kt"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"426a00b8786f273a8d5876ee56d8efe1f9e88095ca424f6b03c057ead46e3b59"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060detectorFileNamesInClasspathEntry\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/InProcessIdleApkInstaller.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3972718ad9769979746a12e50eab01677bf8d241cdc4292653fb2b123e9a493a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060detectorFileNamesUnder\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-common/src/jvmMain/kotlin/xyz/block/trailblaze/util/InProcessIdleApkInstaller.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea0102d7f6603ac06646b956880d782b097f705a4e32fa51922667dd08b04a8"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadTargetIds\u0060 swallows every exception into \u0060emptySet()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/CliInfrastructure.kt"},"region":{"startLine":2192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ee3b4d56cfab8ca9101c83535fc1d40781322fdb374d49729507b2b4f58b18"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060boundDeviceNames\u0060 swallows every exception into \u0060emptySet()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":3337}}}],"partialFingerprints":{"codehealthFindingId/v1":"8057b793ed176a91d3c72493feafeab5c73913b8de16ea3951e22f11cfdf4254"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060delegatedDeviceBindings\u0060 swallows every exception into \u0060emptyMap()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/cli/TrailCommand.kt"},"region":{"startLine":3832}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d26db67fe725ff3ea44061d2f2ce73bb01b6ed928e19ee10226ffb9801db00c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060drainProcessOutput\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/scripting/DaemonScriptedToolBundler.kt"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a967c2f395a26c6178d2a92c63035015e9a1e87a2d6311c12808badccc8fb9c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060typedBindingNames\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-host/src/main/java/xyz/block/trailblaze/usages/ScriptedToolSourceSnapshotScanner.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"288446175b304e48b5a12929f761d21d2db737550477b09e00f9369f5a917f3a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060captureTextBoxes\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightReplayTree.kt"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd051ce12666aafa3fda84fa182ab4b622e61ec0451711baf1026b4eb449b349"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060captureFrameOrigins\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightReplayTree.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba2dece9f65b3a3384833cfd9473f256a2792a099c0c6347b00f49419804136"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060enrichCompactElementList\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0464acc608d9b47b56183176cb7a115197f78e90cd22d0047ba7850b7e525c9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060discoverHiddenCssTargetableElements\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/PlaywrightScreenState.kt"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1b2fec1e65eec8abb244422b1147608be9eb857804eb1c7da4e712669e1335"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060pathOf\u0060 swallows every exception into \u0060\u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-playwright/src/main/java/xyz/block/trailblaze/playwright/network/WebNetworkCapture.kt"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"228a597b7477ae340106371574605d98ddd6eb8fd5bc7bde5de35aab135a73d9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getCustomToolDescriptors\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ToolDiscoveryToolSet.kt"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50634fd3e4cd905185828e9c7338b1cceeb3d9326246c14abfb2209332b3716"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getCustomToolDescriptorsForPlatform\u0060 swallows every exception into \u0060emptyList()\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. 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 in the catch or in the KDoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"trailblaze-server/src/main/java/xyz/block/trailblaze/mcp/newtools/ToolDiscoveryToolSet.kt"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68581354b8f0bebd59710072927d311fb37c71cf1b6138151787d6a330dcfbd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseProperties\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":"sdks/typescript/src/surveys/parse.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77403959bc5cccc7200fd7462b2324dfd53ce66e692c00856ea7d9179c6ee60"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readBody\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":"sdks/typescript/src/surveys/session.ts"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1008db2805a9922b7778069ea8944edcfc6ca947bf8b75ce42e70595f18a019"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060localModule\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sdks/typescript/src/surveys/discover.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"8384e1ea06629931d36ab149f60b0c200acf7a05c58539537365ed4c9d6e4c22"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060recordToolParams\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9dffd1af48ba48d6476319ab7c588258d336a590ccf1d239864ec093a94e0d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060scriptedToolParams\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf503a61bef6910d4cfaa9494e3c6d39cf1d7dfbc8ba26c1a29b18987e6e745"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060toolToolUsages\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a596d9d775777b28a2c743c4290d5c7fc74340902880a2a72b22a388740a313"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060toolToolUsageCounts\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/data-core.tsx"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3cdc0931d1415874f46e97ab030c05b0fd33eb4fb1013013026583708abf16"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060frameFilesFromLogs\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-payload.js"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"8802197b8c3dc3b90a2eef5f811c652162b2e97c6e9d6c5602c78d7cf8c72c98"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060DeviceConsoleScreen\u0060 swallows every exception into \u0060return \u0027m\u0027\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/device-console.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a85e8eeea0de6eb939cee0bda19b0dbf16436dfc48ae032750344b61eb75b1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060permissionInputPreview\u0060 swallows every exception into \u0060return \u0027\u0027\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/external-agents.tsx"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e4618c639625a1c01a36a178baf8845e48d401d58680b7d1f2442d3c6c78a0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060scaffoldArgs\u0060 swallows every exception into \u0060return \u0027\u0027\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0786b12c8e840a7f2f01734a0c0d4f2903f8aa96308d24a65edd3513b47ef9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060bodyToYaml\u0060 (in \u0060ToolCallsPopover\u0060) swallows every exception into \u0060return \u0027\u0027\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65ad64bee6c17b8ba4d4e5322db66dd094c51856496e8ece6c106d268ea38a3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060StepsBoard\u0060 swallows every exception into \u0060return \u0027\u0027\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/screens/steps-board.tsx"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"049c816539f0fbdb3bd91b03df0ebe254d92b1e6e9905d37a859eab243cb366a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseRecordStepTools\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/trail-yaml.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0b7452cc780079f73045f7b9d9362c9def3ee67037ecf0b84727435da1b485"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060read\u0060 (in \u0060useThemeController\u0060) swallows every exception into \u0060return \u0027system\u0027\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":"trailblaze-host/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/ui.tsx"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72a64d1b8209b2e06b0fbd28dc8675e948c318407ad1e1559c12f758160b044"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060zipParamsFrom\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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bb07f4a6d29cfdee31c62f3188626c8ba61f652146bfbd38d1fe168a7ab824"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeHttpsHref\u0060 swallows every exception into \u0060return \u0027\u0027\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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42afd5b74c2ac7caa5accc818034be72370e01f1f87fbed58a2596995633341"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060addressWithoutArchive\u0060 swallows every exception into \u0060return \u0027\u0027\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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/run-report-shell.ts"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"83716b9b9dca1c1f73bf0ed49320e9c19450eca0c83ae5a082927abd573b8e3e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060videoArtifactsFrom\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":"trailblaze-report/src/main/resources/xyz/block/trailblaze/trailrunner/web/app/zip-report-core.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad053b08f6b60cae808e5b3419efa3156e6cbe7931403a52d875489ce6bc2470"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-174","guid":"12320e15-76a3-3950-856e-f2ca9ed179e7","name":"CWE-174","shortDescription":{"text":"CWE-174"},"helpUri":"https://cwe.mitre.org/data/definitions/174.html"},{"id":"CWE-20","guid":"0a612236-7785-3553-b517-eabea925caa3","name":"Improper Input Validation","shortDescription":{"text":"Improper Input Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-248","guid":"64b58946-d244-a556-a48a-f82fcd4f4186","name":"Uncaught Exception","shortDescription":{"text":"Uncaught Exception"},"helpUri":"https://cwe.mitre.org/data/definitions/248.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-290","guid":"379b1e66-a292-7b59-aa1e-a5bb4a6a99e9","name":"Authentication Bypass by Spoofing","shortDescription":{"text":"Authentication Bypass by Spoofing"},"helpUri":"https://cwe.mitre.org/data/definitions/290.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.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-436","guid":"956fd49f-403b-db57-accb-62122d11b312","name":"Interpretation Conflict","shortDescription":{"text":"Interpretation Conflict"},"helpUri":"https://cwe.mitre.org/data/definitions/436.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-704","guid":"50bd74b4-a921-5159-8671-99fd7e78c810","name":"CWE-704","shortDescription":{"text":"CWE-704"},"helpUri":"https://cwe.mitre.org/data/definitions/704.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"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":123,"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."]}]}