{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"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":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"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":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"xml-validation.autoFixXml (cyclomatic 104): xml-validation.autoFixXml has cyclomatic complexity 104 (threshold 15). Of this number, 90 points are the body\u0027s own statements and 14 belong to 9 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"393bb2c38d12b1152c8b497f98936baacb2ca7456041afa3c2f2c26b9badb8ac"}},{"ruleId":"D1","level":"warning","message":{"text":"demo-player.DemoPlayer (cyclomatic 98): demo-player.DemoPlayer has cyclomatic complexity 98 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 78 belong to 28 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":"components/site/demo-player.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0292d04729f5101c1fc33cdd9fa0bd364c548a32394cac97ddf4a08a38b3c751"}},{"ruleId":"D1","level":"warning","message":{"text":"route.handleChatRequest (cyclomatic 71): route.handleChatRequest has cyclomatic complexity 71 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 15 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/chat/route.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecc9bcad885086eec0fa0b1f3670cd4c42253b97e9fc0136a2d9f40d2cb7a96"}},{"ruleId":"D1","level":"warning","message":{"text":"page.AdminPage (cyclomatic 66): page.AdminPage has cyclomatic complexity 66 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 48 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":"app/[lang]/admin/page.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad09238169db6667c9c4e87dcabcfc70d1ed6b2a4018a35088ad767e6f1a73ec"}},{"ruleId":"D1","level":"warning","message":{"text":"composer.Composer (cyclomatic 53): composer.Composer has cyclomatic complexity 53 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 28 belong to 15 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":"components/chat/composer.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb70ea5648ca0bb3a048c5a05fd6f13cf6a9e2cea82be58e650653ab2aee1c4"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.WorkspaceLayout (cyclomatic 48): workspace.WorkspaceLayout has cyclomatic complexity 48 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 24 belong to 9 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":"components/workspace/workspace.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca5a97c484fee99420c1090959f62af1fc23970b570485f3536454c7b839e6f"}},{"ruleId":"D1","level":"warning","message":{"text":"model-config-dialog.ModelConfigDialog::renderProviderPage (cyclomatic 45): model-config-dialog.ModelConfigDialog::renderProviderPage has cyclomatic complexity 45 (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: 3 other methods here (model-config-dialog.ModelConfigDialog, model-config-dialog.ModelConfigDialog::handleFetchModels, model-config-dialog.ModelConfigDialog::renderModelRow) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/model-config-dialog.tsx"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d583fe41d807859e46822cf309f67c5ccf90cb92f99899fb24a035b936b45cfe"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 44): (anonymous) has cyclomatic complexity 44 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 2 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":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1e0f7a35a64e9ce91019c88ba672285a717df7f5a5cdc8376de94b582a7967"}},{"ruleId":"D1","level":"warning","message":{"text":"preview.window.addEventListener(\u0022message\u0022) (cyclomatic 42): preview.window.addEventListener(\u0022message\u0022) has cyclomatic complexity 42 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec0f8a5dfb11c08ae8c4abb49e5607b2b63e9f20b63a85fef0eb70626b2c8bf"}},{"ruleId":"D1","level":"warning","message":{"text":"message-list.AssistantMessage (cyclomatic 40): message-list.AssistantMessage has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 13 of the 40 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 494, thinkingMessage, a function literal at line 465, \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":"components/chat/message-list.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d5bfe146fb342347f9b6c378d74edd37f6ec079aff23e377ac4c89b7ce2202"}},{"ruleId":"D1","level":"warning","message":{"text":"diagram-operations.applyDiagramOperations (cyclomatic 39): diagram-operations.applyDiagramOperations has cyclomatic complexity 39 (threshold 15). Of this number, 31 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":"packages/mcp-server/src/diagram-operations.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c196604a6c3b4181628e08d107304484826f2edca4c328cd440c35feef161f4a"}},{"ruleId":"D1","level":"warning","message":{"text":"http-server.handleStateApi (cyclomatic 39): http-server.handleStateApi has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 10 of the 39 points are its own statements and the rest belongs to one function literal inside it that branches (line 892). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/http-server.ts"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"0382185735e78fc51556bcc5434d639ffbb263f9d02c7e8bac1c19e52073e9c4"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-credentials-fields.ProviderCredentialsFields (cyclomatic 38): provider-credentials-fields.ProviderCredentialsFields has cyclomatic complexity 38 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 8 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":"components/provider-credentials-fields.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78c786287d2ca1d630545b370ecccf783f8cb7dd64116c7fd92ac711fc2c3bd"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-providers.buildProviderOptions (cyclomatic 38): ai-providers.buildProviderOptions 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":"lib/ai-providers.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed74e0a8d69555ad583d5f52fd0a53ef568440b35fb324c69f0a10eac3fe6a1"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-providers.getAIModel (cyclomatic 38): ai-providers.getAIModel has cyclomatic complexity 38 (threshold 15). Of this number, 37 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":"lib/ai-providers.ts"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8462b672f9bb3fe84525b2bee08aedb554076f81235be80c87d41e3c2aa2075"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-sync-core.createMcpSync.poll (cyclomatic 38): mcp-sync-core.createMcpSync.poll has cyclomatic complexity 38 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"90df05b6bf4649b3617f4e736f7f35130eced8a8181bce92a35848af44f1e78b"}},{"ruleId":"D1","level":"warning","message":{"text":"ValidationCard.ValidationCard (cyclomatic 37): ValidationCard.ValidationCard has cyclomatic complexity 37 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 13 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":"components/chat/ValidationCard.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b108b9dab1721451808789b9b47b6a354dbbf6ea83dd23e4c50940a58f9060e5"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-activity.ToolActivity (cyclomatic 35): tool-activity.ToolActivity 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":"components/chat/tool-activity.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a698b266a14bbeccb1839973bb205685b490f4a8433db7bdcca59734d1420acc"}},{"ruleId":"D1","level":"warning","message":{"text":"model-selector.ModelSelector (cyclomatic 35): model-selector.ModelSelector has cyclomatic complexity 35 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 12 belong to 8 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/model-selector.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"57589fd934a6cb16ac11eb4fc6222767b7436ae8f9847fe6a50ae88a4a1bdfb1"}},{"ruleId":"D1","level":"warning","message":{"text":"settings-dialog.GeneralTab (cyclomatic 34): settings-dialog.GeneralTab has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 10 of the 34 points are its own statements and the rest belongs to 8 function items inside it that branch (applyProxy, a function literal at line 196, saveAccessCode, \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":"components/settings-dialog.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d492484826fdf869f2ed6d3e0f7e0f8194f1aba193db4c0bd39e98fe46aeb956"}},{"ruleId":"D1","level":"warning","message":{"text":"TemplatePanel.TemplatePanel (cyclomatic 33): TemplatePanel.TemplatePanel 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 9 function items inside it that branch (a function literal at line 399, handleImport, a function literal at line 407, \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":"components/chat/TemplatePanel.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"174603ab95aa905f3a2e6ba33b744571b46fbf164d4dea11b7d3d88a293e9398"}},{"ruleId":"D1","level":"warning","message":{"text":"check-drawio-files.drive (cyclomatic 33): check-drawio-files.drive has cyclomatic complexity 33 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 9 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":"packages/mcp-server/scripts/check-drawio-files.mjs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe6ecc99a60ff813fc155a08228c0f23291df029e1c1ac320e9612034a60fc8"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-providers.resolveEndpoint (cyclomatic 32): ai-providers.resolveEndpoint 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":"lib/ai-providers.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"169a02fb1bb56856dc18795bd06950419d0c87c9377f8aefe9bf56e0aa2182d9"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-providers.createModel (cyclomatic 32): ai-providers.createModel has cyclomatic complexity 32 (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":"lib/ai-providers.ts"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc238b7bf6855c1724eb25ed8daf7a548f330248b4e0b353cb141a2f7cd724d"}},{"ruleId":"D1","level":"warning","message":{"text":"use-diagram-streaming.useDiagramStreaming (cyclomatic 30): use-diagram-streaming.useDiagramStreaming has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 149, 106, 94, \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":"components/chat/use-diagram-streaming.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4762576d7fa789ed8a0d00c788d2998c2a29acb8a93f5ffdd6033be04cb1869"}},{"ruleId":"D1","level":"warning","message":{"text":"message-list.UserMessage (cyclomatic 30): message-list.UserMessage has cyclomatic complexity 30 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 14 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/message-list.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a0b19108c22a82dc6602d70a5537ccf06d7d24e4ea3deb6a51231e509d90e3"}},{"ruleId":"D1","level":"warning","message":{"text":"drawio-frame.DrawioFrame (cyclomatic 29): drawio-frame.DrawioFrame has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 9 function items inside it that branch (a function literal at line 176, a function literal at line 145, applyThemeCss, \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":"components/canvas/drawio-frame.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"851f2899e470427140797207171e388d7e3162c8cb334db6d0709c0031f8d097"}},{"ruleId":"D1","level":"warning","message":{"text":"session-menu.SessionMenu (cyclomatic 29): session-menu.SessionMenu has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 5 of the 29 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 183, a function literal at line 99, a function literal at line 205, \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":"components/chat/session-menu.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c69dd944b407537b2330b01e91c61f7eddfc56747ad6361c7518123d6c1644"}},{"ruleId":"D1","level":"warning","message":{"text":"message-list.MessageList (cyclomatic 28): message-list.MessageList 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 4 function literals inside it that branch (lines 909, 852, 874, \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":"components/chat/message-list.tsx"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f24a7e535fdaea7362e156325e88879e7b073ffd628816cb69d0f6fd64fa8a"}},{"ruleId":"D1","level":"warning","message":{"text":"node-versions-source.buildVersions (cyclomatic 28): node-versions-source.buildVersions 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":"packages/mcp-server/shell/node-versions-source.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"359f188cf2946004dc40f31f3225c77ac2c8b97f770b1c48c6ecff119ef47c67"}},{"ruleId":"D1","level":"warning","message":{"text":"diagram-context.diagramForMessage (cyclomatic 27): diagram-context.diagramForMessage has cyclomatic complexity 27 (threshold 15). Of this number, 26 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":"lib/diagram-context.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca8b3337cb598b680d5a038d731a1b5fd06cda2959043ede13e5f555b1bc477"}},{"ruleId":"D1","level":"warning","message":{"text":"preview.poll (cyclomatic 27): preview.poll has cyclomatic complexity 27 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 4 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":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c80aa4069f6d69f31983faf90f8e524ccc5e605dd1222460411a9121e314b6"}},{"ruleId":"D1","level":"warning","message":{"text":"edit-gate.describeChanges (cyclomatic 26): edit-gate.describeChanges has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/edit-gate.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f00fe152d1aff7be87284d4b73d9287aec6df5678e58fd581aabf7e748b54c2"}},{"ruleId":"D1","level":"warning","message":{"text":"file-preview-list.FilePreviewList (cyclomatic 25): file-preview-list.FilePreviewList 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 6 function literals inside it that branch (lines 90, 46, 78, \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":"components/file-preview-list.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"029eac3efbff274d1c04ff20217e5c3b29b20e7c23f9a0abdb8b251cff46f515"}},{"ruleId":"D1","level":"warning","message":{"text":"model-config-dialog.ModelConfigDialog::renderModelRow (cyclomatic 25): model-config-dialog.ModelConfigDialog::renderModelRow 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. This shape REPEATS in the file: 3 other methods here (model-config-dialog.ModelConfigDialog, model-config-dialog.ModelConfigDialog::handleFetchModels, model-config-dialog.ModelConfigDialog::renderProviderPage) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/model-config-dialog.tsx"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d6b31f8741697a6fbfdc4872ae680bc1e4c03bd17703111d2d209149553d7d"}},{"ruleId":"D1","level":"warning","message":{"text":"compact-cells.expandCompactCells (cyclomatic 25): compact-cells.expandCompactCells has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 89, 116, 125, \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":"packages/mcp-server/src/compact-cells.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"000e65760fc12578daf745e0bd2123e7758371f536eaa1ad62600a10848522c6"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-demo.McpDemo (cyclomatic 24): mcp-demo.McpDemo has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 59, 182, 65, \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":"components/site/mcp-demo.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b7adb25c4d9dab8ef9bd3f2fe34033f3340bb8e8137835465f9696ab755357"}},{"ruleId":"D1","level":"warning","message":{"text":"ssrf-protection.isPrivateIp (cyclomatic 24): ssrf-protection.isPrivateIp 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":"lib/ssrf-protection.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"15161d3a948d1c6943e61faffc259f81520ef1d827e3d9284b7e7fd53699f83f"}},{"ruleId":"D1","level":"warning","message":{"text":"models-section.ProviderDetail (cyclomatic 23): models-section.ProviderDetail has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 261, addModel, testModel, \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":"app/[lang]/admin/models-section.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb13c127aa859683ed56811c6be0c64c3203a6a7de52f0c8f5fe915c77f83169"}},{"ruleId":"D1","level":"warning","message":{"text":"model-config-dialog.ModelConfigDialog (cyclomatic 23): model-config-dialog.ModelConfigDialog 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. This shape REPEATS in the file: 3 other methods here (model-config-dialog.ModelConfigDialog::handleFetchModels, model-config-dialog.ModelConfigDialog::renderModelRow, model-config-dialog.ModelConfigDialog::renderProviderPage) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/model-config-dialog.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b55948a7162f579fcea114ee29ff95e65cdd9232ca4fccbc3224d6c10b4587"}},{"ruleId":"D1","level":"warning","message":{"text":"canvas-shell.CanvasShell (cyclomatic 23): canvas-shell.CanvasShell has cyclomatic complexity 23 (threshold 15). Of this number, 17 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":"packages/mcp-server/shell/canvas-shell.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"29745fee8b4a1e9108338bf98d352de731bd55e6000adfae55317a7882f9e85d"}},{"ruleId":"D1","level":"warning","message":{"text":"canvas-stage.CanvasStage (cyclomatic 22): canvas-stage.CanvasStage has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 8 of the 22 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 79, 106, 117, \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":"components/canvas/canvas-stage.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02a92c32264d79940136e75a7945dadf4ded8b455caa870f4550d84843a412d"}},{"ruleId":"D1","level":"warning","message":{"text":"edit-gate.countChanges (cyclomatic 22): edit-gate.countChanges has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 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":"packages/mcp-server/src/edit-gate.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a456d6706995148c75218e153d4b5140f0c59bf85ed11b691cd22371d51b6b98"}},{"ruleId":"D1","level":"warning","message":{"text":"setting-field.SettingField (cyclomatic 21): setting-field.SettingField has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/[lang]/admin/setting-field.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1be6975ff101a213beb229c366313f7bb6ea0e89e7083927044120c4ef6503"}},{"ruleId":"D1","level":"warning","message":{"text":"compare-dialog.CompareDialog (cyclomatic 21): compare-dialog.CompareDialog has cyclomatic complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to 7 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":"components/canvas/compare-dialog.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"703536ee12d3c6fc82d9efb81e8dea51432d9720ba1aa317fc9b0734920107b1"}},{"ruleId":"D1","level":"warning","message":{"text":"use-diagram-tool-handlers.useDiagramToolHandlers.handleDisplayDiagram (cyclomatic 21): use-diagram-tool-handlers.useDiagramToolHandlers.handleDisplayDiagram 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":"hooks/use-diagram-tool-handlers.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5056cf3ef12ddef0f14bf7885f466736089dce2ac11c3babc89b6615b12883cd"}},{"ruleId":"D1","level":"warning","message":{"text":"http-server.routeRequest (cyclomatic 21): http-server.routeRequest 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":"packages/mcp-server/src/http-server.ts"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"072550cb59440847bc15a4a6de6652e0268769d7eb8b9b45a98a7dc777db6566"}},{"ruleId":"D1","level":"warning","message":{"text":"selection-ask.SelectionAsk (cyclomatic 20): selection-ask.SelectionAsk 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":"components/canvas/selection-ask.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5779217c41a589e3b916be85614269cbc11ed05e792eea4658a039e235588233"}},{"ruleId":"D1","level":"warning","message":{"text":"TemplateFormDialog.TemplateFormDialog (cyclomatic 20): TemplateFormDialog.TemplateFormDialog has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 2 function items inside it that branch (handleSubmit, a function literal at line 53). 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":"components/chat/TemplateFormDialog.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc1c920d7d1e4e8a3d417be75f917525778795840148ac85c95008aa3c65f6c"}},{"ruleId":"D1","level":"warning","message":{"text":"use-versions.useVersions (cyclomatic 20): use-versions.useVersions 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 3 function literals inside it that branch (lines 103, 62, 88). 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":"components/chat/use-versions.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe95be7f17b6cb71a849693cfa6b9d5b9baea8c5b9570458cc44514f1becc82"}},{"ruleId":"D1","level":"warning","message":{"text":"use-session-manager.useSessionManager (cyclomatic 20): use-session-manager.useSessionManager 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 6 function literals inside it that branch (lines 174, 240, 170, \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":"hooks/use-session-manager.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87cdab56bb6de73226e1b6c15033fd4f2a2fa6e55f00bd4bdde469a45abc41c"}},{"ruleId":"D1","level":"warning","message":{"text":"providers.deriveEnvUpdates (cyclomatic 20): providers.deriveEnvUpdates has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/admin/providers.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"be85d47615f2709747190806420ea6179eb1ed001adaefda671da58d7c72d8bf"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-providers.applyThinkingSwitch (cyclomatic 20): ai-providers.applyThinkingSwitch 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":"lib/ai-providers.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91853fd33a5b47e6ab9cd0afac6eb89c3b4746481e76e231133327bef1dffec"}},{"ruleId":"D1","level":"warning","message":{"text":"diagram-context.canonical (cyclomatic 20): diagram-context.canonical has cyclomatic complexity 20 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/diagram-context.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73c0a000601da3d06d8630142ab1ff90c39958e0be194c84b6fdac0f92987a7"}},{"ruleId":"D1","level":"warning","message":{"text":"llm-errors.classifyLLMError (cyclomatic 20): llm-errors.classifyLLMError 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":"lib/llm-errors.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27e9e8d2bff79bca65122a60aaa0c6e48db57afaee764751029c24591c9551a"}},{"ruleId":"D1","level":"warning","message":{"text":"load-diagram.parseDrawioFileContent (cyclomatic 20): load-diagram.parseDrawioFileContent 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":"packages/mcp-server/src/load-diagram.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"46853a617beb74cf01c2c710630e0160eb597755ed01ecdbd479104b9097f2d6"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 19): route.POST 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":"app/api/validate-diagram/route.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5851e4e71563bb621b16cd52da1b46bc6a5ea9c8aceca22c4c371329dd5bb91d"}},{"ruleId":"D1","level":"warning","message":{"text":"chat-engine.ChatEngineProvider::submitInput (cyclomatic 19): chat-engine.ChatEngineProvider::submitInput 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":"components/chat/chat-engine.tsx"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33d04b397890191cc343dbd73bc5b5f921ba5d5ed480d4f2f1fb2001fe8ea79"}},{"ruleId":"D1","level":"warning","message":{"text":"model-config-dialog.ModelConfigDialog::handleFetchModels (cyclomatic 19): model-config-dialog.ModelConfigDialog::handleFetchModels 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: 3 other methods here (model-config-dialog.ModelConfigDialog, model-config-dialog.ModelConfigDialog::renderModelRow, model-config-dialog.ModelConfigDialog::renderProviderPage) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/model-config-dialog.tsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f4c91c25487d6293279bb8b60c1d96d5f3518e42edab3f2f1e12b91e759478"}},{"ruleId":"D1","level":"warning","message":{"text":"models-section.ModelsSection (cyclomatic 18): models-section.ModelsSection 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 6 function items inside it that branch (a function literal at line 488, addProvider, a function literal at line 436, \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":"app/[lang]/admin/models-section.tsx"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"33af4825f95d222875d46f10ce691f7e4b31fcd397370973e42930344cbc3295"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 18): route.POST 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":"app/api/parse-url/route.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b5d82be49dca7a4f34dea2d6f45286ef2a64b6d6afa1bf8353ffbc8b9e4bc1"}},{"ruleId":"D1","level":"warning","message":{"text":"diagram-context.DiagramProvider::loadDiagram (cyclomatic 18): diagram-context.DiagramProvider::loadDiagram 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":"contexts/diagram-context.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f6bb2e04ec345a312a4a41d7ed531a3f3fcf63528f861bf6788a619c45048e"}},{"ruleId":"D1","level":"warning","message":{"text":"editor-bridge.commitDiagram (cyclomatic 18): editor-bridge.commitDiagram 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":"lib/drawio/editor-bridge.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee133634bc80473c750218659314da567fd025cf5cf2488bdce53165c83a5993"}},{"ruleId":"D1","level":"warning","message":{"text":"compact-cells.foldCells (cyclomatic 18): compact-cells.foldCells 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 3 function literals inside it that branch (lines 174, 186, 193). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/compact-cells.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f9012c3b713572380098c12e05a023916fd96710b469660e2555e6c770a91a"}},{"ruleId":"D1","level":"warning","message":{"text":"selection.parseSelectionAnswer (cyclomatic 18): selection.parseSelectionAnswer has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/selection.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd70e2dce4d6d614167a82e1345c692fefefb4e2ee9df82ddeccbcb5a93510b"}},{"ruleId":"D1","level":"warning","message":{"text":"route.POST (cyclomatic 17): route.POST has cyclomatic complexity 17 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/provider-models/route.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf840ac2a8b36545136ed9b119f3374af077453af5e73ca59d95636af4dd3b5"}},{"ruleId":"D1","level":"warning","message":{"text":"version-card.VersionCard (cyclomatic 17): version-card.VersionCard has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/canvas/version-card.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed171f4ed500bce8d0d45a818c13aed1a199fd1a06a02903f9c1c1ad32c3b2fc"}},{"ruleId":"D1","level":"warning","message":{"text":"dev-xml-simulator.DevXmlSimulator (cyclomatic 17): dev-xml-simulator.DevXmlSimulator 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 6 function items inside it that branch (handleDevSimulate, a function literal at line 206, a function literal at line 224, \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":"components/dev-xml-simulator.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0517c8b0bcbad289f2ab6a804ae6616dc43ac910e4d965c826312439b2de861d"}},{"ruleId":"D1","level":"warning","message":{"text":"completions.onRequest (cyclomatic 17): completions.onRequest 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":"edge-functions/api/edgeai/chat/completions.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6856e81b855a7fadb19844f6e9b88116215b5b6ae7b343b45320a8f2010af5ce"}},{"ruleId":"D1","level":"warning","message":{"text":"dynamo-quota-manager.checkAndIncrementRequest (cyclomatic 17): dynamo-quota-manager.checkAndIncrementRequest 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":"lib/dynamo-quota-manager.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7ca87438cccfb59cc06039063b558b572c63f92b491f68de77d1256cfd9d91"}},{"ruleId":"D1","level":"warning","message":{"text":"provider-models.listProviderModels (cyclomatic 17): provider-models.listProviderModels 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":"lib/provider-models.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a133546ed4d3078b650e9db767ef00bd411f5abffed95d402a843130610e1509"}},{"ruleId":"D1","level":"warning","message":{"text":"use-mcp-sync.useMcpSync (cyclomatic 17): use-mcp-sync.useMcpSync 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 5 function literals inside it that branch (lines 118, 57, 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":"packages/mcp-server/shell/use-mcp-sync.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b5e2f82a31e22f375187ae47ffe158c3dff2bdf5c12b19837f6ffe016282a4"}},{"ruleId":"D1","level":"warning","message":{"text":"xml-validation.checkDuplicateIds (cyclomatic 17): xml-validation.checkDuplicateIds has cyclomatic complexity 17 (threshold 15). Of this number, 11 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":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab97243aa6c1a80912b8fdca485cc1445a67fc9d52f241336979004f3b889b2f"}},{"ruleId":"D1","level":"warning","message":{"text":"selection.describeSelection (cyclomatic 17): selection.describeSelection has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/selection.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14a32b534d7281487b43a27b7ea90fc8a9dcfd7493aac13edef4e2c4fbf911b"}},{"ruleId":"D1","level":"warning","message":{"text":"pushState (cyclomatic 17): pushState has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e5dde81881678cf442fc7e6bfd127d7f2b09994b7059fa031cfbcd290322ca"}},{"ruleId":"D1","level":"warning","message":{"text":"setting-field.SecretInput (cyclomatic 16): setting-field.SecretInput has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/[lang]/admin/setting-field.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"079afd647a41135916839192d80e01e218b2eac524a9aaf048ed02515f42ff55"}},{"ruleId":"D1","level":"warning","message":{"text":"tool-activity.ToolRow (cyclomatic 16): tool-activity.ToolRow 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":"components/chat/tool-activity.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a009117a9c9baa3e14dd2679bfa1ac9b072e450bf6e6532602a260be3af05313"}},{"ruleId":"D1","level":"warning","message":{"text":"providers-list.ProvidersList (cyclomatic 16): providers-list.ProvidersList has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 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":"components/settings/providers-list.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ea622f119c0a407ba1bc802cac39f64a889968b082a7345af6157b4f68705c"}},{"ruleId":"D1","level":"warning","message":{"text":"ai-providers.serverCredentialError (cyclomatic 16): ai-providers.serverCredentialError 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":"lib/ai-providers.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b50dca59def6148c70bedba0b3b8816c2f22aae0afdb6fa7e471cabe520a14"}},{"ruleId":"D1","level":"warning","message":{"text":"ssrf-protection.redirectGuardedFetch.\u003Creturned closure\u003E (cyclomatic 16): ssrf-protection.redirectGuardedFetch.\u003Creturned closure\u003E 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":"lib/ssrf-protection.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8540c5914a8aeec46fa22fbf7680b233dc0c6c25d2d4550eb8ee8bbe308a1664"}},{"ruleId":"D1","level":"warning","message":{"text":"thinking-capabilities.thinkingSwitchOf (cyclomatic 16): thinking-capabilities.thinkingSwitchOf 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":"lib/thinking-capabilities.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebaa53e144837bef4db1d13c19b1910eb72b7474fd12d4994459708f6d64475"}},{"ruleId":"D1","level":"warning","message":{"text":"style-classes.addDefaultStyles (cyclomatic 16): style-classes.addDefaultStyles 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 one function literal inside it that branches (line 226). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/style-classes.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2de295a209b7e7d74767eab2b4dc71f916649bbeb8dfa806f6565d375abef44"}},{"ruleId":"D1","level":"warning","message":{"text":"http-server.serveStaticFile (cyclomatic 16): http-server.serveStaticFile 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 is NOT this file\u0027s highest cyclomatic complexity: http-server.previewOriginFromEnv (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":"packages/mcp-server/src/http-server.ts"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71ab2a25eb833ed9fe771fe9a961221b80e8217584301ac38549facad32f31f"}},{"ruleId":"D2","level":"warning","message":{"text":"xml-validation.autoFixXml (cognitive 130): xml-validation.autoFixXml has cognitive complexity 130 (threshold 15). Drivers by points: if/else 53 (85 pts), loops 14 (21 pts), boolean chains 20, ternaries 3 (4 pts) (nesting depth added 40). Of this number, 127 points are the body\u0027s own statements and 3 belong to 9 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7acc3396da04349a6ea12b8c15f35d12809caff1a44e92edf85d651bc7d2067"}},{"ruleId":"D2","level":"warning","message":{"text":"demo-player.DemoPlayer (cognitive 112): demo-player.DemoPlayer has cognitive complexity 112 (threshold 15). Drivers by points: if/else 33 (41 pts), ternaries 32 (40 pts), boolean chains 22, loops 8, error handling 1 (nesting depth added 16). Of this number, 17 points are the body\u0027s own statements and 95 belong to 28 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":"components/site/demo-player.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fea4ada21723aaae6c98014f6fcc65ecedcf18131b9d2318ea631dd7fd70756"}},{"ruleId":"D2","level":"warning","message":{"text":"diagram-operations.applyDiagramOperations (cognitive 89): diagram-operations.applyDiagramOperations has cognitive complexity 89 (threshold 15). Drivers by points: if/else 25 (65 pts), loops 5 (14 pts), boolean chains 7, ternaries 1 (3 pts) (nesting depth added 51). Of this number, 75 points are the body\u0027s own statements and 14 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/diagram-operations.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dc91701f2be67bb76e8c7ffdd4e39c6d0ccf7391860e0b751f338cfe916996"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 73): (anonymous) has cognitive complexity 73 (threshold 15). Drivers by points: if/else 23 (47 pts), boolean chains 14, error handling 3 (8 pts), ternaries 1 (4 pts) (nesting depth added 32). Of this number, 66 points are the body\u0027s own statements and 7 belong to 4 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":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c946c440faa0addc7b48e7c435d9fed89abed1a1f8e414362ddd9da5274459e"}},{"ruleId":"D2","level":"warning","message":{"text":"route.handleChatRequest (cognitive 67): route.handleChatRequest has cognitive complexity 67 (threshold 15). Drivers by points: boolean chains 28, if/else 19 (23 pts), ternaries 10 (12 pts), error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 8). Of this number, 51 points are the body\u0027s own statements and 16 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/chat/route.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"728c4fa4e40b950072c595292edf5e25cade20a692ab1b3803d230d5f7a5a30a"}},{"ruleId":"D2","level":"warning","message":{"text":"http-server.handleStateApi (cognitive 65): http-server.handleStateApi has cognitive complexity 65 (threshold 15). Drivers by points: if/else 21 (47 pts), boolean chains 16, error handling 1 (2 pts) (nesting depth added 27). Most of this is not in the body itself: 12 of the 65 points are its own statements and the rest belongs to one function literal inside it that branches (line 892). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/http-server.ts"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75fed715846b89c87e0f986c7d62419f953ca2e2d88f1f08f40060621e1964c"}},{"ruleId":"D2","level":"warning","message":{"text":"preview.window.addEventListener(\u0022message\u0022) (cognitive 65): preview.window.addEventListener(\u0022message\u0022) has cognitive complexity 65 (threshold 15). Drivers by points: if/else 23 (46 pts), boolean chains 14, ternaries 1 (4 pts), error handling 1 (nesting depth added 26). Of this number, 59 points are the body\u0027s own statements and 6 belong to 2 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":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a810a796b3337a280a73f20186478f1ba81be2d6f4315f11e204fed16a8ecc"}},{"ruleId":"D2","level":"warning","message":{"text":"page.AdminPage (cognitive 61): page.AdminPage has cognitive complexity 61 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 21, ternaries 7 (10 pts), loops 4, error handling 2 (nesting depth added 10). Most of this is not in the body itself: 12 of the 61 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 258, 240, 209, \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":"app/[lang]/admin/page.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bcc1befc65ac233d8be7fd4745901d884c47c6d7f75ac404ece7dd6cb953e0"}},{"ruleId":"D2","level":"warning","message":{"text":"tool-activity.ToolActivity (cognitive 56): tool-activity.ToolActivity has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 17 (42 pts), boolean chains 10, if/else 4 (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":"components/chat/tool-activity.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fab0439ed83d06a154f913f9993d760ab79abb39a0c239cf770ce15af7f41ee"}},{"ruleId":"D2","level":"warning","message":{"text":"use-diagram-streaming.useDiagramStreaming (cognitive 51): use-diagram-streaming.useDiagramStreaming has cognitive complexity 51 (threshold 15). Drivers by points: if/else 20 (38 pts), ternaries 2 (5 pts), boolean chains 4, error handling 2 (3 pts), loops 1 (nesting depth added 22). None of this is in the body itself: all 51 points belong to 4 function literals inside it that branch (lines 149, 106, 94, \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":"components/chat/use-diagram-streaming.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a920c0bd226472327349beb1a631697364460ac86d7db255dc6a55607a1a247"}},{"ruleId":"D2","level":"warning","message":{"text":"diagram-context.diagramForMessage (cognitive 50): diagram-context.diagramForMessage has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (38 pts), boolean chains 6, loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 23). Of this number, 49 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":"lib/diagram-context.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec324c0a6866b8532bb7998f7fa5e73ec06442a344f041c5d8c031e226cad6d4"}},{"ruleId":"D2","level":"warning","message":{"text":"composer.Composer (cognitive 49): composer.Composer has cognitive complexity 49 (threshold 15). Drivers by points: if/else 20 (22 pts), boolean chains 17, ternaries 8 (9 pts), error handling 1 (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 31 belong to 15 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":"components/chat/composer.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9c2ae45c3a359c056eeda40a18b34cda42dcd33e424d93ba469a3f976ba1ac"}},{"ruleId":"D2","level":"warning","message":{"text":"TemplatePanel.TemplatePanel (cognitive 48): TemplatePanel.TemplatePanel has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 9 (22 pts), if/else 13 (17 pts), boolean chains 8, error handling 1 (nesting depth added 17). Most of this is not in the body itself: 9 of the 48 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 399, handleImport, a function literal at line 407, \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":"components/chat/TemplatePanel.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f01b277ade61b2444d67deccbb4e98df1808243f6a2bbf7ad115b3d7387af6a"}},{"ruleId":"D2","level":"warning","message":{"text":"provider-credentials-fields.ProviderCredentialsFields (cognitive 48): provider-credentials-fields.ProviderCredentialsFields has cognitive complexity 48 (threshold 15). Drivers by points: ternaries 12 (24 pts), boolean chains 17, if/else 5 (7 pts) (nesting depth added 14). Of this number, 35 points are the body\u0027s own statements and 13 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":"components/provider-credentials-fields.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1713e146348096414bdaebb769aff2adf822b1473de2e734a615a7d744402b"}},{"ruleId":"D2","level":"warning","message":{"text":"model-config-dialog.ModelConfigDialog::renderProviderPage (cognitive 46): model-config-dialog.ModelConfigDialog::renderProviderPage has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 25, ternaries 14 (21 pts) (nesting depth added 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. This shape REPEATS in the file: 3 other methods here (model-config-dialog.ModelConfigDialog, model-config-dialog.ModelConfigDialog::handleFetchModels, model-config-dialog.ModelConfigDialog::renderModelRow) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/model-config-dialog.tsx"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc8c384d3ced37712634a50c81665422cb59e29266373a5097e56b73365152a"}},{"ruleId":"D2","level":"warning","message":{"text":"use-diagram-tool-handlers.useDiagramToolHandlers.handleDisplayDiagram (cognitive 46): use-diagram-tool-handlers.useDiagramToolHandlers.handleDisplayDiagram has cognitive complexity 46 (threshold 15). Drivers by points: if/else 15 (30 pts), ternaries 3 (10 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 24). 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":"hooks/use-diagram-tool-handlers.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"841e2221acd5fcdabe5c527ff285e8f70879572ca3cd1f9ebfc5247185e14d4f"}},{"ruleId":"D2","level":"warning","message":{"text":"session-menu.SessionMenu (cognitive 44): session-menu.SessionMenu has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 11, ternaries 6 (11 pts) (nesting depth added 16). Most of this is not in the body itself: 5 of the 44 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 183, a function literal at line 99, a function literal at line 205, \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":"components/chat/session-menu.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abad804b9eafbcfeb87980b778b2efab63f609ea9dacae099491cd915b02ac7"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-providers.getAIModel (cognitive 44): ai-providers.getAIModel has cognitive complexity 44 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 14, ternaries 2 (nesting depth added 10). 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":"lib/ai-providers.ts"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"b354a226e121c09ec35842ea55d43da48a8938dc05f2a90263ce626c362f3fe7"}},{"ruleId":"D2","level":"warning","message":{"text":"check-drawio-files.drive (cognitive 44): check-drawio-files.drive has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 11 (12 pts), ternaries 5 (7 pts), error handling 2 (4 pts), boolean chains 3 (nesting depth added 13). Of this number, 31 points are the body\u0027s own statements and 13 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":"packages/mcp-server/scripts/check-drawio-files.mjs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"527a18be52d3fd81b7c99977e20556c235c9ed7cfc24eb2b81ae81678321440a"}},{"ruleId":"D2","level":"warning","message":{"text":"message-list.AssistantMessage (cognitive 41): message-list.AssistantMessage has cognitive complexity 41 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 17, ternaries 2 (3 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 11 of the 41 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 465, thinkingMessage, a function literal at line 494, \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":"components/chat/message-list.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d71d3d7c790d2bfee88efa8c127d26e259b93da731719f12a56cde80f43dea6"}},{"ruleId":"D2","level":"warning","message":{"text":"edit-gate.describeChanges (cognitive 41): edit-gate.describeChanges has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (24 pts), ternaries 4 (7 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 16). Of this number, 40 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":"packages/mcp-server/src/edit-gate.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"385882e4c5d2e8fc4c5fc0c97b2dbe7d0f82d5f2b273398a840221cdda4a82bf"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.WorkspaceLayout (cognitive 40): workspace.WorkspaceLayout has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 20, if/else 14 (16 pts), ternaries 4 (nesting depth added 2). Of this number, 18 points are the body\u0027s own statements and 22 belong to 9 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":"components/workspace/workspace.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60500acf319e2651337a72e3781a58ed9b18d430c2debbc66434ad3e8152978"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-providers.buildProviderOptions (cognitive 40): ai-providers.buildProviderOptions has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 14, match/switch 1, ternaries 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":"lib/ai-providers.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"638191a5767871e1a6cf52975019cfd02c06b1046e6689541dea0736c8720f0d"}},{"ruleId":"D2","level":"warning","message":{"text":"model-selector.ModelSelector (cognitive 38): model-selector.ModelSelector has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 16, ternaries 8 (12 pts), if/else 7 (9 pts), loops 1 (nesting depth added 6). Of this number, 25 points are the body\u0027s own statements and 13 belong to 8 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/model-selector.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c75ae2b6e3cf950c4058df364f39bacd7a95e0c9ad8e1e673f659c32c2b0c1"}},{"ruleId":"D2","level":"warning","message":{"text":"providers.deriveEnvUpdates (cognitive 38): providers.deriveEnvUpdates has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 3, loops 2 (nesting depth added 19). Of this number, 37 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":"lib/admin/providers.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4883705d2ba4401b7b5b2cdaba015dbefe90455292118a175baebe0017b3d0c"}},{"ruleId":"D2","level":"warning","message":{"text":"edit-gate.countChanges (cognitive 38): edit-gate.countChanges has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 7 (13 pts), loops 5 (8 pts), boolean chains 1 (nesting depth added 17). Of this number, 33 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/edit-gate.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ce2c1e248ceebef5f784b3baacdbe1fa8bf409599c0e6449ba547769f4419a"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-sync-core.createMcpSync.poll (cognitive 37): mcp-sync-core.createMcpSync.poll has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 11, ternaries 1 (2 pts), error handling 1 (nesting depth added 8). Of this number, 27 points are the body\u0027s own statements and 10 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"95db045b6fdb0a0de7fda9a4cfa984c097619c6f545f52635647378e5eb3a1c8"}},{"ruleId":"D2","level":"warning","message":{"text":"file-preview-list.FilePreviewList (cognitive 36): file-preview-list.FilePreviewList has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 8 (21 pts), boolean chains 9, if/else 5 (6 pts) (nesting depth added 14). Most of this is not in the body itself: 3 of the 36 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 90, 46, 78, \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":"components/file-preview-list.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"58298cf3b9fb717da8d6e6bd2e4021307a0af8ea2a85a903d92ec8bd1a2e7060"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-demo.McpDemo (cognitive 36): mcp-demo.McpDemo has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 9 (17 pts), if/else 7 (10 pts), loops 5 (6 pts), boolean chains 2, error handling 1 (nesting depth added 12). Most of this is not in the body itself: 4 of the 36 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 59, 182, 65, \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":"components/site/mcp-demo.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0343299e088f132822200baab615d91db0ed6b235bad89d12e56696ae2fd4a32"}},{"ruleId":"D2","level":"warning","message":{"text":"node-versions-source.buildVersions (cognitive 36): node-versions-source.buildVersions has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 8, ternaries 4 (7 pts), loops 3 (nesting depth added 9). Of this number, 26 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/shell/node-versions-source.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6572197cc9310fee7a1c00e7810faab1957e3e94e1d12c9c11b35606e0ed5c"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-providers.resolveEndpoint (cognitive 34): ai-providers.resolveEndpoint has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 8 (17 pts), boolean chains 16, 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":"lib/ai-providers.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"68237cbd7d46fe64a9562db7d0878c849e497cbaa855e5194443c4729f6b0eff"}},{"ruleId":"D2","level":"warning","message":{"text":"ssrf-protection.isPrivateIp (cognitive 32): ssrf-protection.isPrivateIp has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 7 (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":"lib/ssrf-protection.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bdb8bd814c2c91ab09565d3c7d0c43d93360e9303a73d2256637d76ca7eb95"}},{"ruleId":"D2","level":"warning","message":{"text":"settings-dialog.GeneralTab (cognitive 31): settings-dialog.GeneralTab has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 18, if/else 10, error handling 2, ternaries 1. Most of this is not in the body itself: 7 of the 31 points are its own statements and the rest belongs to 8 function items inside it that branch (applyProxy, a function literal at line 196, saveAccessCode, \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":"components/settings-dialog.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"da76aadb98cef034481fb82d7c3ae892c93aa83f34d08484e7d5a4f537602aad"}},{"ruleId":"D2","level":"warning","message":{"text":"use-session-manager.useSessionManager (cognitive 31): use-session-manager.useSessionManager has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (23 pts), error handling 2 (5 pts), boolean chains 3 (nesting depth added 12). None of this is in the body itself: all 31 points belong to 6 function literals inside it that branch (lines 240, 174, 170, \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":"hooks/use-session-manager.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"070dfa67640c28899f0f4418d4765ba8c5e07e7c49affe5fdf85f9bdc382abe8"}},{"ruleId":"D2","level":"warning","message":{"text":"drawio-frame.DrawioFrame (cognitive 30): drawio-frame.DrawioFrame has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (24 pts), error handling 3, boolean chains 2, match/switch 1 (nesting depth added 6). None of this is in the body itself: all 30 points belong to 9 function items inside it that branch (a function literal at line 145, a function literal at line 176, applyThemeCss, \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":"components/canvas/drawio-frame.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc45e13154391e07d5eda29795f75b8edddfc567a80117940887893de3d02de"}},{"ruleId":"D2","level":"warning","message":{"text":"diagram-context.canonical (cognitive 30): diagram-context.canonical has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 4 (7 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 12). Of this number, 27 points are the body\u0027s own statements and 3 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":"lib/diagram-context.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd4aa89893801489045805c2e3bd66608ecc27e3f5ec40a923516370558d515"}},{"ruleId":"D2","level":"warning","message":{"text":"xml-validation.checkDuplicateIds (cognitive 29): xml-validation.checkDuplicateIds has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 13). Of this number, 18 points are the body\u0027s own statements and 11 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e456aae71577c416bba72d20e9e64f902d35d1c83d7667e55e289ec459e4637"}},{"ruleId":"D2","level":"warning","message":{"text":"message-list.UserMessage (cognitive 28): message-list.UserMessage has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 12, if/else 11 (12 pts), ternaries 4 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 14 belong to 6 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":"components/chat/message-list.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4e81c7bf86772e5757fe7dcb096f1f7cdfd1b659901050f4054102bc1cb0fe"}},{"ruleId":"D2","level":"warning","message":{"text":"message-list.MessageList (cognitive 27): message-list.MessageList has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 10, if/else 3 (nesting depth added 7). Most of this is not in the body itself: 6 of the 27 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 909, 852, 874, \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":"components/chat/message-list.tsx"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4afb66ff42fb9e38a0fa5079e16471551e3463a2fc2d44b0cb544b4de6ed76a"}},{"ruleId":"D2","level":"warning","message":{"text":"preview.poll (cognitive 27): preview.poll has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 8, ternaries 1 (2 pts), error handling 1 (nesting depth added 4). 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, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"f753a66ea0eda2402ad0e0993da8a75e4707af624f76a6c951628a36772bd4d6"}},{"ruleId":"D2","level":"warning","message":{"text":"model-config-dialog.ModelConfigDialog::handleFetchModels (cognitive 25): model-config-dialog.ModelConfigDialog::handleFetchModels has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 5, 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. This shape REPEATS in the file: 3 other methods here (model-config-dialog.ModelConfigDialog, model-config-dialog.ModelConfigDialog::renderModelRow, model-config-dialog.ModelConfigDialog::renderProviderPage) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/model-config-dialog.tsx"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"160637c2fe8995e01bdde94aa2712a068fae6db0eeb5aafeb493ec33f0a7ee03"}},{"ruleId":"D2","level":"warning","message":{"text":"dynamo-quota-manager.checkAndIncrementRequest (cognitive 25): dynamo-quota-manager.checkAndIncrementRequest has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 9, ternaries 1 (3 pts), error handling 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":"lib/dynamo-quota-manager.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce74992050cb801ab79e5c862508a672e43f281f910e6be7f8f54dbaf3715a57"}},{"ruleId":"D2","level":"warning","message":{"text":"load-diagram.parseDrawioFileContent (cognitive 25): load-diagram.parseDrawioFileContent has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/load-diagram.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad93a90b6c73adb76dee359e1e86053ea33a7b0fdb5f23bb15e65951becface"}},{"ruleId":"D2","level":"warning","message":{"text":"model-config-dialog.ModelConfigDialog (cognitive 24): model-config-dialog.ModelConfigDialog has cognitive complexity 24 (threshold 15). Drivers by points: if/else 68 (77 pts), boolean chains 73, ternaries 47 (66 pts), error handling 2 (nesting depth added 28). 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: 3 other methods here (model-config-dialog.ModelConfigDialog::handleFetchModels, model-config-dialog.ModelConfigDialog::renderModelRow, model-config-dialog.ModelConfigDialog::renderProviderPage) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/model-config-dialog.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a661b4c350de5f2be372ff1857775ed28d9509831e019ce0f709f1ad3a73d20"}},{"ruleId":"D2","level":"warning","message":{"text":"use-versions.useVersions (cognitive 23): use-versions.useVersions has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 7, ternaries 3 (4 pts) (nesting depth added 3). None of this is in the body itself: all 23 points belong to 3 function literals inside it that branch (lines 103, 62, 88). 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":"components/chat/use-versions.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"05787bee473c312dfc4be40c95bfe4611444cebdb161e640681867b406b92a53"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-providers.createModel (cognitive 23): ai-providers.createModel has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 10, ternaries 5 (10 pts), if/else 1 (2 pts), 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":"lib/ai-providers.ts"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aab0ad3f91a3ce74af91c1a2b31aab8772658c60deed90b859bbe8c6dcfc734"}},{"ruleId":"D2","level":"warning","message":{"text":"ssrf-protection.redirectGuardedFetch.\u003Creturned closure\u003E (cognitive 23): ssrf-protection.redirectGuardedFetch.\u003Creturned closure\u003E has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (7 pts), boolean chains 5, ternaries 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":"lib/ssrf-protection.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"78af01df67d9910345ef3bce7f3804cb8dff5bbc4242bdc0984b71187c28241c"}},{"ruleId":"D2","level":"warning","message":{"text":"xml-validation.parseXmlTags (cognitive 23): xml-validation.parseXmlTags has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af0bea29cecdc52b71e5592666162fc33c9065a0fd7ab48cf24c847db2a2c3a"}},{"ruleId":"D2","level":"warning","message":{"text":"selection.describeSelection (cognitive 23): selection.describeSelection has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 11 (18 pts), if/else 4, boolean chains 1 (nesting depth added 7). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 98). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/selection.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d1f461e5f86da77fd01cc4bcfc62d0abf3427cf594c1ef1be3381cbebe58ac"}},{"ruleId":"D2","level":"warning","message":{"text":"http-server.routeRequest (cognitive 23): http-server.routeRequest has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 6, 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":"packages/mcp-server/src/http-server.ts"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3b9c1756db3445aed0b67d07a5380d2d97ae1538b7aae09338b9de4d0aa24b"}},{"ruleId":"D2","level":"warning","message":{"text":"pushState (cognitive 23): pushState has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 2 (3 pts), ternaries 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":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76f8b226d6fda27addd95ca95823f4e91488b76018fc8bde23ca8ac3899a957"}},{"ruleId":"D2","level":"warning","message":{"text":"models-section.ProviderDetail (cognitive 22): models-section.ProviderDetail has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, ternaries 6 (9 pts), if/else 2, error handling 1 (nesting depth added 3). Most of this is not in the body itself: 8 of the 22 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 261, addModel, testModel, \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":"app/[lang]/admin/models-section.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"346721180813486a83415e5031d158c5d788799339b92d5127e05a78e573b9cc"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidationCard.ValidationCard (cognitive 22): ValidationCard.ValidationCard has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 14, loops 2 (4 pts), if/else 3, match/switch 1 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 8 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":"components/chat/ValidationCard.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"104d330d92d561c575e24a131c971c8dddb12f8a6b19e4a4aef56d829aeaf425"}},{"ruleId":"D2","level":"warning","message":{"text":"chat-engine.ChatEngineProvider::submitInput (cognitive 22): chat-engine.ChatEngineProvider::submitInput has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/chat-engine.tsx"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"7243c08ca63bce922682620b16fb4e37b863cdea258e77da5fa7f2c97d3e344c"}},{"ruleId":"D2","level":"warning","message":{"text":"selection.parseSelectionAnswer (cognitive 22): selection.parseSelectionAnswer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 6). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/selection.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c065d4b08d668465a2344ed6c33217ae0642cd911af8cbc26fef9eddfa200374"}},{"ruleId":"D2","level":"warning","message":{"text":"compare-dialog.CompareDialog (cognitive 21): compare-dialog.CompareDialog has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 8, ternaries 4 (7 pts), if/else 6 (nesting depth added 3). Of this number, 11 points are the body\u0027s own statements and 10 belong to 7 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":"components/canvas/compare-dialog.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54cb2b944ad920e0170f63964ea85cb62489df479688cafc57858a1b3240d61"}},{"ruleId":"D2","level":"warning","message":{"text":"TemplateFormDialog.TemplateFormDialog (cognitive 21): TemplateFormDialog.TemplateFormDialog has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 8 (9 pts), boolean chains 8, if/else 4 (nesting depth added 1). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 2 function items inside it that branch (handleSubmit, a function literal at line 53). 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":"components/chat/TemplateFormDialog.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6e0ca9ff5779a8eeed16314b4126d8eca061b608cf888433a88b22ef2b1ad5"}},{"ruleId":"D2","level":"warning","message":{"text":"diagram-context.DiagramProvider::loadDiagram (cognitive 21): diagram-context.DiagramProvider::loadDiagram has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, error handling 1 (2 pts), ternaries 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. This shape REPEATS in the file: one other method here (diagram-context.DiagramProvider::saveDiagramToFile) 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":"contexts/diagram-context.tsx"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de479656322cf9434438e05f264bd94b462a621c324c4aa67bbefcd97190a2a"}},{"ruleId":"D2","level":"warning","message":{"text":"install-tabs.InstallTabs (cognitive 20): install-tabs.InstallTabs has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 9 (18 pts), boolean chains 1, if/else 1 (nesting depth added 9). None of this is in the body itself: all 20 points belong to 3 function items inside it that branch (onKeyDown, a function literal at line 97, a function literal at line 63). 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":"app/[lang]/mcp/install-tabs.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"006c7d5e7575edeb199c2e4ea1496d2dc47b6577fe9121aae1b123e9f16e9821"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 20): route.POST has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5, error handling 2, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/validate-diagram/route.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac122169aac63027aaa06d592b3ce272d38530024468c4536684bbd40979ac58"}},{"ruleId":"D2","level":"warning","message":{"text":"canvas-stage.CanvasStage (cognitive 20): canvas-stage.CanvasStage has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 9 (10 pts) (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 6 function literals inside it that branch (lines 79, 106, 117, \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":"components/canvas/canvas-stage.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c900cca9ab55f9cbb170cff7cbed483b86c74eb5d1aabaea9c5c11e775a643"}},{"ruleId":"D2","level":"warning","message":{"text":"ai-providers.serverCredentialError (cognitive 20): ai-providers.serverCredentialError has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 8 (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":"lib/ai-providers.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"632dd41c20967522db5de8414d8af0f4ce7582aac988ace088b0ab85c0568cad"}},{"ruleId":"D2","level":"warning","message":{"text":"diagram-diff.diffDiagrams (cognitive 20): diagram-diff.diffDiagrams has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2, boolean chains 1, ternaries 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":"lib/diagram-diff.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"513ff8c77b0f2a861b9023f63019c66e9ab1a8f344176e7c85caa0a3a0fad73e"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-sync-core.createMcpSync.pushState (cognitive 20): mcp-sync-core.createMcpSync.pushState has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 1 (3 pts), boolean chains 2, 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":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"895f5cff6f8ad88897bbafeea28fd92742627a9cf6a71cdeaf9ca3d8f39279f3"}},{"ruleId":"D2","level":"warning","message":{"text":"compact-cells.expandCompactCells (cognitive 20): compact-cells.expandCompactCells has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 5 (6 pts), ternaries 3 (nesting depth added 1). None of this is in the body itself: all 20 points belong to 4 function literals inside it that branch (lines 89, 116, 125, \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":"packages/mcp-server/src/compact-cells.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b8b9ad59510da6085dd0d5f550c9fb578639e573b09d3262771b78c26f61d5"}},{"ruleId":"D2","level":"warning","message":{"text":"model-config-dialog.ModelConfigDialog::renderModelRow (cognitive 19): model-config-dialog.ModelConfigDialog::renderModelRow has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, ternaries 6 (9 pts), if/else 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: 3 other methods here (model-config-dialog.ModelConfigDialog, model-config-dialog.ModelConfigDialog::handleFetchModels, model-config-dialog.ModelConfigDialog::renderProviderPage) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/model-config-dialog.tsx"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f45c742cf37f14fe2077145480ae7bd8e0001320743ced922eb206e27b19804"}},{"ruleId":"D2","level":"warning","message":{"text":"diagram-context.DiagramProvider::saveDiagramToFile (cognitive 19): diagram-context.DiagramProvider::saveDiagramToFile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, ternaries 5 (9 pts), boolean chains 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. This shape REPEATS in the file: one other method here (diagram-context.DiagramProvider::loadDiagram) 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":"contexts/diagram-context.tsx"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"567064f6f7531f2e26a891a9a45471471268e54c7d312551e00c4872b898728b"}},{"ruleId":"D2","level":"warning","message":{"text":"compact-cells.foldCells (cognitive 19): compact-cells.foldCells has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7 (nesting depth added 3). None of this is in the body itself: all 19 points belong to 3 function literals inside it that branch (lines 174, 186, 193). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/compact-cells.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"413cfd7b6c78a3912793959a9468a657a184351bdde64053783413ef5451f49e"}},{"ruleId":"D2","level":"warning","message":{"text":"pages.findPageElement (cognitive 19): pages.findPageElement has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/pages.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17f127f77b00124e9c86e85ea949c02f8e0d187ab8e5d8d246069ce04160a06"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 18): route.POST has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), error handling 4, 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":"app/api/parse-url/route.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6224fd17cc4aa527e8947dd6103e63b239dfae31bbd5d2f62c5d07c20cb58ccf"}},{"ruleId":"D2","level":"warning","message":{"text":"route.POST (cognitive 18): route.POST has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, if/else 6, ternaries 2 (5 pts), error handling 1 (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/provider-models/route.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78e9758153ff76272be9c2eec847b2f446bff04300119ec4423d18ef3288acd"}},{"ruleId":"D2","level":"warning","message":{"text":"version-card.VersionCard (cognitive 18): version-card.VersionCard has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 7 (10 pts), boolean chains 7, if/else 1 (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/canvas/version-card.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c457087cabefc04e7877b332b895fbb66739a59988ee50386f7ca6cbf1a8d7c9"}},{"ruleId":"D2","level":"warning","message":{"text":"dev-xml-simulator.DevXmlSimulator (cognitive 18): dev-xml-simulator.DevXmlSimulator has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 6 function items inside it that branch (handleDevSimulate, a function literal at line 206, a function literal at line 224, \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":"components/dev-xml-simulator.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3da1ffde6be425ca54cba948a3a6c5a8cd089483a6ab3967281598d58833004"}},{"ruleId":"D2","level":"warning","message":{"text":"completions.onRequest (cognitive 18): completions.onRequest has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, error handling 3 (4 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":"edge-functions/api/edgeai/chat/completions.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82b9f27ae7916234abbda0c359f4f52cf42db65f8258013e0866824c47359f6"}},{"ruleId":"D2","level":"warning","message":{"text":"xml-validation.validateMxCellStructure (cognitive 18): xml-validation.validateMxCellStructure has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 1, error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83b42586b24ff8f0aa4844e93593f067e2a2d0f8bb10274ff913c664c0bc5a9"}},{"ruleId":"D2","level":"warning","message":{"text":"use-mcp-sync.useMcpSync (cognitive 17): use-mcp-sync.useMcpSync has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, error handling 1, ternaries 1 (nesting depth added 1). None of this is in the body itself: all 17 points belong to 5 function literals inside it that branch (lines 118, 57, 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":"packages/mcp-server/shell/use-mcp-sync.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce55ec520adcdf7aef614baf3464beccf5bc7c019397078ae933b802391ac1d"}},{"ruleId":"D2","level":"warning","message":{"text":"canvas-shell.CanvasShell (cognitive 17): canvas-shell.CanvasShell has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 14, if/else 2, ternaries 1. Of this number, 11 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":"packages/mcp-server/shell/canvas-shell.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"05885e0fb34a194e8b9fe368380d849d1c87841a42f65dc8631b483d233a38c3"}},{"ruleId":"D2","level":"warning","message":{"text":"xml-validation.createQuoteTracker.\u003Creturned closure\u003E (cognitive 17): xml-validation.createQuoteTracker.\u003Creturned closure\u003E has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 4, 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":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c765d1b4ec38e6aa8bbca8d010926e73426a6e96e533c7acf39cf377dcebdde2"}},{"ruleId":"D2","level":"warning","message":{"text":"edit-diagram.editDiagram (cognitive 17): edit-diagram.editDiagram has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/edit-diagram.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ed9acd032bcd5cb6a68973c123e37b9e7aacecb27d998631064474d767429a"}},{"ruleId":"D2","level":"warning","message":{"text":"models-section.ModelsSection (cognitive 16): models-section.ModelsSection has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, ternaries 3 (5 pts), if/else 1 (nesting depth added 2). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 436, a function literal at line 488, a function literal at line 462, \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":"app/[lang]/admin/models-section.tsx"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbc62507d190818cd55824c63702c9023947aef5ff5dacc9ef2846a41d188e3"}},{"ruleId":"D2","level":"warning","message":{"text":"route.PUT (cognitive 16): route.PUT 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). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/admin/settings/route.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f3b8373e03e0e9b0d30f8273c196a9eaf6bc114261a063ef6abf911655bd72"}},{"ruleId":"D2","level":"warning","message":{"text":"use-diagram-tool-handlers.useDiagramToolHandlers.handleAppendDiagram (cognitive 16): use-diagram-tool-handlers.useDiagramToolHandlers.handleAppendDiagram has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hooks/use-diagram-tool-handlers.ts"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfee44ae6036e954a69cfef6d91e9f1381bea13ec5169c85f4b26b9707e72076"}},{"ruleId":"D2","level":"warning","message":{"text":"editor-bridge.commitDiagram (cognitive 16): editor-bridge.commitDiagram has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/drawio/editor-bridge.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdcda6cd7563217388bf621a36a30362b496674bf4f7a0b12c368f6dbf92dd6"}},{"ruleId":"D2","level":"warning","message":{"text":"use-file-processor.useFileProcessor.handleFileChange (cognitive 16): use-file-processor.useFileProcessor.handleFileChange has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3, boolean chains 2, error handling 1 (2 pts) (nesting depth added 5). Of this number, 8 points are the body\u0027s own statements and 8 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":"lib/use-file-processor.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fce2e01b574a071b6ffb23488ac7865a23684b55a501ff941c4ce90dd172652"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-engine.ChatEngineProvider: FunctionTooLong \u2014 ChatEngineProvider runs 1148 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1048 over it, 11.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/chat-engine.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"55407e7adf89219e669a271df4136edeb5455ca6d1610adbd449f98ff65af654"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model-config-dialog.ModelConfigDialog: FunctionTooLong \u2014 ModelConfigDialog runs 1130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1030 over it, 11.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":"components/model-config-dialog.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf4b3845ff6f5f9c50154683f50a3c31f7708a727470c9fc8c91971d2fc9020"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: demo-player.DemoPlayer: FunctionTooLong \u2014 DemoPlayer runs 604 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 504 over it, 6.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":"components/site/demo-player.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec94d61cad23378b2a5d502f68ecc8da0d2169665aabc222f9764656a3af4129"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.AdminPage: FunctionTooLong \u2014 AdminPage runs 472 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 372 over it, 4.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/[lang]/admin/page.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"914237d5a8d9aef9d2257b30e060244d51255b5dd5a901db4b969ba0b7257393"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mcp-sync-core.createMcpSync: FunctionTooLong \u2014 createMcpSync runs 445 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 345 over it, 4.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":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"05322ab56e0748b6c7cf9cf5c11d3f4f2dd09e3cad2ed0acb410b58738274ff0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: composer.Composer: FunctionTooLong \u2014 Composer runs 376 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 276 over it, 3.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/composer.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb50cb84ba9f0de6ee112edb1694b78d70486fb76dc4b7a2866b6acafd67569"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-credentials-fields.ProviderCredentialsFields: FunctionTooLong \u2014 ProviderCredentialsFields runs 367 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 267 over it, 3.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/provider-credentials-fields.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e812c17f30abbb6bf115faa753db7b11298504d51ed0943b6cf823b2ca29832"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-diagram-tool-handlers.useDiagramToolHandlers: FunctionTooLong \u2014 useDiagramToolHandlers runs 347 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 247 over it, 3.47\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":"hooks/use-diagram-tool-handlers.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8bc4a69cb024bbd929ffdfd0a898204efb396673f005e60b57ea1d26683e49"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: models-section.ProviderDetail: FunctionTooLong \u2014 ProviderDetail runs 293 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 193 over it, 2.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/[lang]/admin/models-section.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e782cacba7f37384fd9ec12c926dd9618321f437e0f3b3623d19ba193bfa99"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: route.handleChatRequest: FunctionTooLong \u2014 handleChatRequest runs 270 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 170 over it, 2.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":"app/api/chat/route.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f89dec2478b8ef7262e222ec1d66a3a8849771b7e5cd63c1413b9234cc5a4d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/chat-engine.tsx: FileTooLong \u2014 1341 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: ChatEngineProvider (277-2057). The bar is 500 significant lines; this is 841 over it, 2.68\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":"components/chat/chat-engine.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f78168811f3b2382b93eb32db25a744809550e96898c2e5e45096634f4ae5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/model-config-dialog.tsx: FileTooLong \u2014 1257 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: ModelConfigDialog (156-1650). The bar is 500 significant lines; this is 757 over it, 2.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":"components/model-config-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d892f6118e7b9d62b87020439afcf9dff9a403efe4906b3b708ef9e42e3d6b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/index.ts: FileTooLong \u2014 1248 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 748 over it, 2.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a603d51b53fafa09f0b45e6f183ecd8d13c7ae53d32f884ce6dbcd5728b0ee67"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: settings-dialog.GeneralTab: FunctionTooLong \u2014 GeneralTab runs 243 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 143 over it, 2.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings-dialog.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a2b1c9684a12a843a3538d747ec3ee635308d6ac88fffc663684fa3c1261ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: page.Mcp: FunctionTooLong \u2014 Mcp runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/[lang]/mcp/page.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4b69016e6c3e86acaa43b3c3c01ef1d2246feb30763c3b3f8c27d8fbdab6de"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace.WorkspaceLayout: FunctionTooLong \u2014 WorkspaceLayout runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/workspace/workspace.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b43102037367574b00099a6af2c2d462758a56aa72145853d5147ebf943643"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ValidationCard.ValidationCard: FunctionTooLong \u2014 ValidationCard runs 219 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 119 over it, 2.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":"components/chat/ValidationCard.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bc721dc98773293417076cfd9f2f7c7809c905a44eb941dcda0e0ed8d14781"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session-menu.SessionMenu: FunctionTooLong \u2014 SessionMenu runs 218 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 118 over it, 2.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":"components/chat/session-menu.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0494657e80d411aa96e774cd72772edb596b6df3811a5444212d15803b8dd097"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: message-list.AssistantMessage: FunctionTooLong \u2014 AssistantMessage runs 212 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 112 over it, 2.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":"components/chat/message-list.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cccfaa902674bcfadac19db89ef6c60adbf3c5faa54f4c725c6f598b20f0b77"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: providers-list.ProvidersList: FunctionTooLong \u2014 ProvidersList 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":"components/settings/providers-list.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"375d49188a23b159d2aa6b9ffc2873c1c507a197e055b02dd30bd7420b0acef2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: models-section.ModelsSection: FunctionTooLong \u2014 ModelsSection runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/[lang]/admin/models-section.tsx"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"5000f4e2e453968245dcb760e28510db844e6fd9243303485c5104467aadab2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mcp-demo.McpDemo: FunctionTooLong \u2014 McpDemo runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/site/mcp-demo.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e36b2ad519d903ea4b04da17f6c49d083461f9289d697329daf16a0a5fda674"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/http-server.ts: FileTooLong \u2014 912 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 412 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":"packages/mcp-server/src/http-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"828e9f5dc3f33988c97d650db7487e7344fd263365f6b05eb1706a51ca479f46"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-preview-list.FilePreviewList: FunctionTooLong \u2014 FilePreviewList runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\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":"components/file-preview-list.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"732861f6d8671cbbb57f6b5f61398254cebd3ef148b3e83926cf8f252b42fc37"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TemplateFormDialog.TemplateFormDialog: FunctionTooLong \u2014 TemplateFormDialog 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":"components/chat/TemplateFormDialog.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f300abf7819059193d3d5fb709001bdf139af9a96a29c46659d52477f6b83a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/ai-providers.ts: FileTooLong \u2014 849 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 349 over it, 1.70\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ai-providers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec450f7ebde70fdbf58db1e89050230059ad71cf6fdadd3215e7c6523595ee7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lobby-hero.LobbyHero: FunctionTooLong \u2014 LobbyHero runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/lobby-hero.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4dc24145642660fc61ae3d2642409f018b24360f56d5a6f4f6b25d04d62f0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: check-drawio-files.drive: FunctionTooLong \u2014 drive runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/check-drawio-files.mjs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70e6e377ac40c92df0a927b7f65fa442c5a9d3a02e9644c1b37d4e0e9694684"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: version-card.VersionCard: FunctionTooLong \u2014 VersionCard 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":"components/canvas/version-card.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d201025ff2bcb03304a2031af0ac2e31dbe14a797ccb7b098b06423dd285449"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dev-xml-simulator.DevXmlSimulator: FunctionTooLong \u2014 DevXmlSimulator 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":"components/dev-xml-simulator.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ca1e563a33ecc7ac104bd49623b44c581cd2088e7e737b4f1696519a1612ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-model-config.useModelConfig: FunctionTooLong \u2014 useModelConfig runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\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":"hooks/use-model-config.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1bdfadf075742ffeca50a74e91227073d32e7b59777da541cb076c1964820a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chat/message-list.tsx: FileTooLong \u2014 784 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 284 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/message-list.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76644bcaf29ddaa4a4a347de4f99d98e90c89cfe8be247566209c6d120d951bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diagram-operations.applyDiagramOperations: FunctionTooLong \u2014 applyDiagramOperations runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/diagram-operations.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d760f4938a481210dd25ad0e5dc02703fed5dbf238ca6769a795f493f0cfc3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: canvas-shell.CanvasShell: FunctionTooLong \u2014 CanvasShell 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":"packages/mcp-server/shell/canvas-shell.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c76b5c378f7c3dfcb8195e8ef3b81c737a8b10083c0da6686118c65dce5d6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: site/demo-player.tsx: FileTooLong \u2014 731 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: DemoPlayer (106-878). The bar is 500 significant lines; this is 231 over it, 1.46\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":"components/site/demo-player.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72adb867e2a8627078d3a1b25b18f1d7a40c4c2746bb5bc189e6b04ecda7f19c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: save-dialog.SaveDialog: FunctionTooLong \u2014 SaveDialog 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":"components/save-dialog.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea785774f9b8ca7cc5b1959331fd909001eb32074bc99ce07506e46f75caafa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: message-list.UserMessage: FunctionTooLong \u2014 UserMessage runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/message-list.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"df291c6478a2090a1fdedcfda12433cdcdefe537d7717afad07c03730f980bb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: drawio/editor-bridge.ts: FileTooLong \u2014 697 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 197 over it, 1.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":"lib/drawio/editor-bridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9902754fb25257ff0a865aa37f4f3887f3f70e1f2f65b70c220c1cf1cf63c1e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-diagram-streaming.useDiagramStreaming: FunctionTooLong \u2014 useDiagramStreaming runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/use-diagram-streaming.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8aaf64e9f601224b51ca6b84c5e000f88612153d9d12f1b70b44ac618a8d40"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: setting-field.SettingField: FunctionTooLong \u2014 SettingField runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/[lang]/admin/setting-field.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8343c5d125e53627a07bd890c689db519a924944d24039c7ac1dd8c20f3dc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-diagram-tool-handlers.useDiagramToolHandlers.handleDisplayDiagram: FunctionTooLong \u2014 useDiagramToolHandlers.handleDisplayDiagram runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"hooks/use-diagram-tool-handlers.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df26f2fed9a995b8a519c6c26e9a7d4f8ed6e9d4bd8cbac7b82345a992f4b28"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: http-server.handleStateApi: FunctionTooLong \u2014 handleStateApi 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":"packages/mcp-server/src/http-server.ts"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"742d1d2dea5dfe4544a3fbf5bc4af7f76d745b175cd4ec15eac3a57bd0680f76"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shell/mcp-sync-core.ts: FileTooLong \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: createMcpSync (330-1064). The bar is 500 significant lines; this is 128 over it, 1.26\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef39e2dab33f9b3a96c871006a7bda74287673bfbbfd0084fba566d85a7454b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat-panel.ChatPanel: FunctionTooLong \u2014 ChatPanel runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/chat-panel.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6135d0c3e8aec3a63d389c62837d080366b7f36eb06835cf1c918180743559dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: compare-dialog.CompareDialog: FunctionTooLong \u2014 CompareDialog 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":"components/canvas/compare-dialog.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"957c0daec7d76c2a56ebd454dfdfe382f37ced4dbe67536f377a5c60f7b03825"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/xml-validation.ts: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 89 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e11747b518076f42ad889ccd33259716cc3543d47a1a1c948cfe9bc621e86b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-versions.useVersions: FunctionTooLong \u2014 useVersions 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":"components/chat/use-versions.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a157ae9176cba23e0a8f4b209d93cf51044a90f22d1b855439537243459b91"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: message-list.MessageList: FunctionTooLong \u2014 MessageList 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":"components/chat/message-list.tsx"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b83f09622a0dedcc70477d95a0fbca4b1637acb36a2a662f3efa3ad5eda98f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: components/settings-dialog.tsx: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 55 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cec8c08356b5d2b172fb9048290ee7b796317e2a03d78e7bb8aad128075aa4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: canvas-stage.CanvasStage: FunctionTooLong \u2014 CanvasStage 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":"components/canvas/canvas-stage.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3daaa901b15021d40a24cd159571aeb8ccd993c47abefb6705a387935abbbe9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provider-picker.ProviderPicker: FunctionTooLong \u2014 ProviderPicker 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":"components/settings/provider-picker.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed255b270562ec620508c48771635aa4be75b4136b672e941cab3417423abc4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ai-providers.buildProviderOptions: FunctionTooLong \u2014 buildProviderOptions runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.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":"lib/ai-providers.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"58787c78798ac3edbbd901c6d5a8739e01e1fbcea3ec92079c3ee3ddf70d8104"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/models-section.tsx: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 26 over it, 1.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/[lang]/admin/models-section.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fbe652bf0c0c8d568cdb4705f95ef4bea537aac9a98371845d41090caa272f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: use-mcp-sync.useMcpSync: FunctionTooLong \u2014 useMcpSync 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":"packages/mcp-server/shell/use-mcp-sync.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b177ee557c38e2e9d716ba4a1fcc935e6cf02bb8c09b8b277dcdc71f0235de8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/page.tsx: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: AdminPage (53-645). The bar is 500 significant lines; this is 13 over it, 1.03\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":"app/[lang]/admin/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"874300ad9f6439b309f6026c6dbd08e752bd10cc42a8be0239fbf1fd138f6041"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ai-providers.getAIModel: FunctionTooLong \u2014 getAIModel 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":"lib/ai-providers.ts"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0bd6b72a32c40aa5f240298318197069966617f11f61fa6ae649f9f6a4b2f7"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 the repository root runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: lets overlapping get_selection calls take turns, each getting its own answer: This test starts work it did not wait for (\u0060poll\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((r) =\u003E setTimeout(r, 150))\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":"packages/mcp-server/tests/http-server.test.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebed9547eb8b5817d5b91e4d831370ebb0c86d927b1b222cf1944de70a2ce65"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips a check that had not started when the user stopped: This test sets up 4 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/use-diagram-tool-handlers.test.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dacedf1371c701b28fec1653b1e864c826d4eb1c6e5728bb98a1707d7f7219e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ends with the diagram\u0027s result when Stop cancels a running check: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/use-diagram-tool-handlers.test.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf408fdd046a92641a500a04da159c16cecad0d28f018aa5c7e5d8a85d0c4f0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips the check when Stop came during the screenshot: This test sets up 3 test doubles (for example \u0060vi.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/use-diagram-tool-handlers.test.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8194c32281bdac076506aabe8407419dd0f09ec13acfcc62695d1dd8338e7a99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/chat/chat-engine.tsx: components/chat/chat-engine.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 222 in chat-engine.ChatEngineProvider at line 277. 4 of those changes were fix/bug commits, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/chat/chat-engine.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":"components/chat/chat-engine.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"432e019f43f23fd5cbb0ddb03ee8395648e050b86fe63a5ed439b5a26f2f0472"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/model-config-dialog.tsx: components/model-config-dialog.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 214 in model-config-dialog.ModelConfigDialog at line 156. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/model-config-dialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/model-config-dialog.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8859d7ab2b8401df03bfd20bd94de1b0d8bcaee6e0522285f692463577082a10"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/chat/route.ts: app/api/chat/route.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in route.handleChatRequest at line 96. 6 of those changes were fix/bug commits, and the other 13 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- app/api/chat/route.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":"app/api/chat/route.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bf0ce0c5d776331d536fc82b961294bc3ebb721cbe36008ec785f0242a0121"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/mcp-server/src/http-server.ts: packages/mcp-server/src/http-server.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in http-server.handleStateApi at line 856. 2 of those changes were fix/bug commits, and the other 10 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- packages/mcp-server/src/http-server.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/http-server.ts"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0009b634e9b55069290d6b1a759fc4534860166811f0b563eb5431e63f0ab8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/ai-providers.ts: lib/ai-providers.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in ai-providers.buildProviderOptions at line 310. 5 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- lib/ai-providers.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":"lib/ai-providers.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c04fd9e2ba0504ceb48b047c4aeb945ae26038189bd9740191dcfc821f1a406"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/mcp-server/src/xml-validation.ts: packages/mcp-server/src/xml-validation.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 104 in xml-validation.autoFixXml at line 449. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- packages/mcp-server/src/xml-validation.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5de88cb4bb61fe1d1252f4995e55fb87c5a09d43648a533fc3b4141b418dc0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: contexts/diagram-context.tsx: contexts/diagram-context.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in diagram-context.DiagramProvider at line 149. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- contexts/diagram-context.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":"contexts/diagram-context.tsx"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a6eccc8fecc14da05cd7b6d8c84e51ef8a295d62e02f6e6e188d25ea08de60"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/chat/message-list.tsx: components/chat/message-list.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in message-list.AssistantMessage at line 334. 1 of those changes was a fix/bug commit, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/chat/message-list.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":"components/chat/message-list.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da6ff8881a255691037c3c7b9513867854f4d7c7bc6e5910cd4eacb433e4d94"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/workspace/workspace.tsx: components/workspace/workspace.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in workspace.WorkspaceLayout at line 131. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/workspace/workspace.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":"components/workspace/workspace.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"409d00edf0b8cb3bfa79b53f685f5f8ec1cea37cfa2cfc4d40b21f35669f8112"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/chat/composer.tsx: components/chat/composer.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in composer.Composer at line 148. 1 of those changes was a fix/bug commit, and the other 4 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/chat/composer.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":"components/chat/composer.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2223dce4b711aadc9fd99d914d96d9a3c06cf175eaeb844adff7790e18135a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/settings-dialog.tsx: components/settings-dialog.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in settings-dialog.GeneralTab at line 143. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/settings-dialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/settings-dialog.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6099b4154b03766e80de4297e2f57cf3f7cf011faa0c5dcb22548eb219267c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/chat/use-diagram-streaming.ts: components/chat/use-diagram-streaming.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in use-diagram-streaming.useDiagramStreaming at line 80. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/chat/use-diagram-streaming.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":"components/chat/use-diagram-streaming.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba85bad63387cd9e1795d696b220eb89942ace317f922f02f86c4c65ca661a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/model-selector.tsx: components/model-selector.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in model-selector.ModelSelector at line 166. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/model-selector.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":"components/model-selector.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86e962b6e7f2888122431ba263fc06d2c961521fc33a1f578969d7bccf7ee43"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/provider-credentials-fields.tsx: components/provider-credentials-fields.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in provider-credentials-fields.ProviderCredentialsFields 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/provider-credentials-fields.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":"components/provider-credentials-fields.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1408b5b009ebf926a666c75a52796b17d5dad8c59672d4e7158534deac5f8af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hooks/use-diagram-tool-handlers.ts: hooks/use-diagram-tool-handlers.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in use-diagram-tool-handlers.useDiagramToolHandlers.handleDisplayDiagram at line 205. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- hooks/use-diagram-tool-handlers.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":"hooks/use-diagram-tool-handlers.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"7faf9ec7338c2470e795cdce57140d1e77eb95b422389c1b87af346a2706a674"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/chat/TemplatePanel.tsx: components/chat/TemplatePanel.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in TemplatePanel.TemplatePanel at line 48. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/chat/TemplatePanel.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":"components/chat/TemplatePanel.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac75cf6d2bff24b90b49565d47d5689e7f953056d20ad3a570406399d189329"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/mcp-server/src/diagram-operations.ts: packages/mcp-server/src/diagram-operations.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in diagram-operations.applyDiagramOperations at line 141. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- packages/mcp-server/src/diagram-operations.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/diagram-operations.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31318df760c148428adb374cce842112484ea4b1adfcec9cdba8a5cb694346b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/test-model-connection.ts: lib/test-model-connection.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in test-model-connection.testModelConnection at line 54. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- lib/test-model-connection.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":"lib/test-model-connection.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2896bd7402f6f86d7cc2136520680436d301c4cd143121868ecb38865abed9b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/mcp-server/src/preview/preview.js: packages/mcp-server/src/preview/preview.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in preview.poll at line 302. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- packages/mcp-server/src/preview/preview.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":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc23b31d39009e4f72accb07b9c3ed41bad4c124d15e7dd1236e465ed8e9827"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: hooks/use-session-manager.ts: hooks/use-session-manager.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in use-session-manager.useSessionManager 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- hooks/use-session-manager.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":"hooks/use-session-manager.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cee39db7f79d87515484e24b06fd2a877a78bdd87ad83836c82868296b6226"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/mcp-server/src/load-diagram.ts: packages/mcp-server/src/load-diagram.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in load-diagram.parseDrawioFileContent at line 75. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- packages/mcp-server/src/load-diagram.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/load-diagram.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a2af43fe2071f76ee4dc5bc003d3f605a5b75e251d45d44309e3b3dbbfbbd1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/mcp-server/src/compact-cells.ts: packages/mcp-server/src/compact-cells.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in compact-cells.foldCells at line 172. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- packages/mcp-server/src/compact-cells.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/compact-cells.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ae58b2dbda57bef960addac836773990077bdbef88adf106c82aec33955f42"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/canvas/canvas-stage.tsx: components/canvas/canvas-stage.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in canvas-stage.CanvasStage at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/canvas/canvas-stage.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":"components/canvas/canvas-stage.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee3ff670ffe9dd1e2a3cd968a88fee05d8093568694e6937cdb9bf9fd13e338"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/provider-models.ts: lib/provider-models.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in provider-models.listProviderModels at line 143. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- lib/provider-models.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":"lib/provider-models.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"308939066725f14d8a7488f6e7e060d8fbb815ce2c7acde30675eefcdfd7b38f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/chat/use-versions.ts: components/chat/use-versions.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in use-versions.useVersions at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/chat/use-versions.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":"components/chat/use-versions.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"353c9b8587e2fc301a59b8078b834679ee412f51ee829038aa7ff022bfa23390"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/validate-diagram/route.ts: app/api/validate-diagram/route.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in route.POST at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- app/api/validate-diagram/route.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":"app/api/validate-diagram/route.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf051465aed6daef00b38f0200af85ecdafa59c54730ac8955196fe73cf63ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/canvas/compare-dialog.tsx: components/canvas/compare-dialog.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in compare-dialog.CompareDialog 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/canvas/compare-dialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/canvas/compare-dialog.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d382a5555f1c99853702b91a541d30d020e4850964e212366966dbe19f283633"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/canvas/selection-ask.tsx: components/canvas/selection-ask.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in selection-ask.SelectionAsk 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/canvas/selection-ask.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":"components/canvas/selection-ask.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef68d99f33339c2ec5c6cf403ee244be81018b9cf8d5ae2ef107565b9a1ca4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/chat/TemplateFormDialog.tsx: components/chat/TemplateFormDialog.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in TemplateFormDialog.TemplateFormDialog at line 35. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/chat/TemplateFormDialog.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":"components/chat/TemplateFormDialog.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fcb96077bd889fd556bfd73408bbc889e1a3fcc7670892c6affda1e8719cf4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/canvas/drawio-frame.tsx: components/canvas/drawio-frame.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in drawio-frame.DrawioFrame at line 55. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/canvas/drawio-frame.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":"components/canvas/drawio-frame.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3e6d63622eba812dc7f15fa94535c063375a56c109ef3fbe1dd939a0c82b69"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: edge-functions/api/edgeai/chat/completions.ts: edge-functions/api/edgeai/chat/completions.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in completions.onRequest at line 78. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- edge-functions/api/edgeai/chat/completions.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":"edge-functions/api/edgeai/chat/completions.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c421fcc55c7f7bb481bd5af0bd93ae349e1b6cb9fe089f2d28051c5f1d95b07d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/dynamo-quota-manager.ts: lib/dynamo-quota-manager.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in dynamo-quota-manager.checkAndIncrementRequest at line 69. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- lib/dynamo-quota-manager.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":"lib/dynamo-quota-manager.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a6b42ab47ac4e0bdd5245fe09195c6fa7f7132479a372a9f80fed599c19ecd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/mcp-server/shell/canvas-shell.tsx: packages/mcp-server/shell/canvas-shell.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in canvas-shell.CanvasShell at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- packages/mcp-server/shell/canvas-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":"packages/mcp-server/shell/canvas-shell.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f685840fe2369515969da76b4a45c4ffe0c3aaac635e9e58a51dc6bc8214401"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/[lang]/admin/models-section.tsx: app/[lang]/admin/models-section.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in models-section.ProviderDetail at line 49. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- app/[lang]/admin/models-section.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":"app/[lang]/admin/models-section.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"15016a0bdfc812c0387ae20e494ee516505f46e5c8bfe4b0fe834c715debcdd0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: app/api/provider-models/route.ts: app/api/provider-models/route.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in route.POST 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- app/api/provider-models/route.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":"app/api/provider-models/route.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7bba40776cc88e59f8f3822a243942b69485400771bdcac4204157a09c1064"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: components/dev-xml-simulator.tsx: components/dev-xml-simulator.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in dev-xml-simulator.DevXmlSimulator at line 139. 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- components/dev-xml-simulator.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":"components/dev-xml-simulator.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafde7c118ec083e748442d60606ce14f8b32ede8225d41e63fcee1508541d56"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/thinking-capabilities.ts: lib/thinking-capabilities.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in thinking-capabilities.thinkingSwitchOf 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-09..2026-11-07, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-09 16:12:19 \u002B09:00\u0027 --until=\u00272026-11-07 16:12:19 \u002B09:00\u0027 --full-history --no-merges -- lib/thinking-capabilities.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":"lib/thinking-capabilities.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0b2f668278985b38f531652eb4cd8631c7bddda2630515168bde41ff5ce82d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 49 significant file(s) lose their only recent owner: components/chat/chat-engine.tsx, lib/cached-responses.ts, components/chat/message-list.tsx, lib/drawio/editor-bridge.ts, app/[lang]/admin/models-section.tsx, packages/mcp-server/src/preview/preview.js, hooks/use-diagram-tool-handlers.ts, components/chat/composer.tsx (\u002B41 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"96155eb97e03d1c1d6aa8ddd8921f8645dd9d7a0a7b8e3b49fc6256d475c9792"}},{"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."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for access code\u0022 repeats the code it sits on: 3 of its 3 words (check, access, code) are already in \u0060const accessDenied = checkAccessCode(req)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/chat/route.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27ceb6e5561252243a3b2534d46b791b5e8b292d849b7a0077882911175500c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if model supports prompt caching\u0022 repeats the code it sits on: 4 of its 5 words (model, supports, prompt, caching) are already in \u0060const shouldCache = supportsPromptCaching(modelId)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/chat/route.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6eebc0b0e41755908159ae454a8d83548bc3af359d4e666a579a97b75e17eb5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check content length\u0022 repeats the code it sits on: 3 of its 3 words (check, content, length) are already in \u0060if (markdown.length \u003E MAX_CONTENT_LENGTH)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/parse-url/route.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b15c39bfe01af730e3988cbadc4a15f65d477e5321e669dbb5cc8da187a881"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Filter templates by search query\u0022 repeats the code it sits on: 4 of its 4 words (filter, templates, search, query) are already in \u0060const filteredTemplates = searchQuery.trim()\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/TemplatePanel.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ca2067076a8155eda6710befe5e95d03992892b4dd288d77e63a8a3ec1f3f3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Validate import data\u0022 repeats the code it sits on: 3 of its 3 words (validate, import, data) are already in \u0060const validation = validateImportData(data)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/TemplatePanel.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d61c090b91c794ac5806eb4c171744516535f5647946280327ee44d3bda9b7f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Generate improvement feedback from validation result\u0022 repeats the code it sits on: 5 of its 5 words (generate, improvement, feedback, validation, result) are already in \u0060const generateImprovementFeedback = (result: ValidationResult): string =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/ValidationCard.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0eb7d010473e79d95fb63336f31a61fb2133f99b16aedef98fe04eb57849d6a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Single instance lock\u0022 repeats the code it sits on: 3 of its 3 words (single, instance, lock) are already in \u0060const gotTheLock = app.requestSingleInstanceLock()\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"electron/main/index.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05cbedd315220a31038f386f68155217cd55f295362bc18d00bf5ad25974496"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Register IPC handlers\u0022 repeats the code it sits on: 3 of its 3 words (register, ipc, handlers) are already in \u0060registerIpcHandlers()\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"electron/main/index.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8152e9a2aa5b59ef094b33d7eda592be51f461032fa5605b82c0d744c3b33da3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if client is providing their own provider override\u0022 repeats the code it sits on: 4 of its 5 words (check, client, provider, override) are already in \u0060const isClientOverride = !!(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ai-providers.ts"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd39ac037e49a0910a86554a337cc87babe539fcf3e9b25a6865cd8fd8ecdd2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Other DynamoDB errors - fail open\u0022 repeats the code it sits on: 5 of its 5 words (dynamo, db, errors, fail, open) are already in \u0060console.error(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/dynamo-quota-manager.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f9f7a2431fea796d9beb31d10c42b79811fde483b5f2e2f7997cd2d15b252a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create empty config\u0022 repeats the code it sits on: 3 of its 3 words (create, empty, config) are already in \u0060export function createEmptyConfig(): MultiModelConfig\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/types/model-config.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4b6410a91cf9409348bcb545d536d4118b70ce9654f62da764b925275af350"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find model by ID\u0022 repeats the code it sits on: 3 of its 3 words (find, model, id) are already in \u0060export function findModelById(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/types/model-config.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"50303944b709b39f9fd65a96c6afb0068bda93da4beb952df8b58eaa4c066bae"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Show token limit toast\u0022 repeats the code it sits on: 4 of its 4 words (show, token, limit, toast) are already in \u0060const showTokenLimitToast = useCallback(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/use-quota-manager.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0aa2bd7843ec79bbc060f59e590ce067a75efb5c792c58980b3bf1ea9db7ce"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Show TPM limit toast\u0022 repeats the code it sits on: 4 of its 4 words (show, tpm, limit, toast) are already in \u0060const showTPMLimitToast = useCallback(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/use-quota-manager.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"90146709b525602a1b60d672ef9de98abafd8b8edef5f1af014818dd1985c9c7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for syntax errors, then parse the XML\u0022 repeats the code it sits on: 4 of its 5 words (syntax, errors, parse, xml) are already in \u0060const parseError = getXmlSyntaxError(xmlContent)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/diagram-operations.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91e3f3bcb972461a294ea6ee6a817698f26854d9772ef839f331c8613facb5a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 16 comments in this file only repeat the code they sit on (lines 390, 412, 448, 534, 581, 683, 788, 968, 1064, 1310, 1336, 1651, 1674, 1750, 1792, 1883), for example \u0022Tool: get_drawing_guide\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/index.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bdcec53fa36c7af79931250009d4ea111a521323286e00e323d77431ac732d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Start Next.js dev server\u0022 repeats the code it sits on: 4 of its 5 words (start, next, js, server) are already in \u0060console.log(\u00221. Starting Next.js development server...\u0022)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/electron-dev.mjs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c895fac949db3e7bd0d6049130a766f754d4f6ff4a4f7d6c1b6c067b7fd91e8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Copy static files\u0022 repeats the code it sits on: 3 of its 3 words (copy, static, files) are already in \u0060console.log(\u0022Copying static files...\u0022)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/prepare-electron-build.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd345a37fdf9132be4486e22be2180b812939bef2894ee0fc8fe57ebeae26e67"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022ANTHROPIC_THINKING_TYPE=disabled with a budget\u0022 repeats the code it sits on: 4 of its 5 words (anthropic, thinking, disabled, budget) are already in \u0060expect(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/unit/thinking-switch.test.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0688e959150b7dda0f9b8258458a58950b828444b909b1a9118e669a7449a87"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (38163 LoC, 269 module-visible types across 43 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f32e8f3fbf7570a6be9670d21e5c6b43cdac618ba5bf8a556a1c427f087797e"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"946be98555897b1453c53f6353357b7a07f5cd82dbba9beeac0141181eaf76fa"},"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":"ea122e33f0ad90672cfde76250dc01ce81b4d1ee8ac24149b1f5f4d4227ac918"},"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":"3fc412bab76f3273cb1b3149d89289a3b49745fd534c21272bb9b4f6adea6081"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2f5db40a67091e37302388ff9b8fdc366d06cc3763e010518ad7301ee1a719c4"},"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":"61b8f33ec12ecc26c6d80e38033fb2ee51eeff8e61aaf8c54d85f1f32626e672"},"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":"9697e258f56188f4d2c589d4130288b1e0759b51efeafc15ee41e3e7d37215e1"},"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":"8bf76dbea40fa7bf2b624f7b074fd4f87c1362ed8ed0d6032bc7e7b12f520678"},"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":"925c63ca829e8a151c1ac62ce9d42ab73266fecb91943a0a51274de64aee477c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"681d8c4d0e19fb2f2cdc657f41855902b79d7ad62531a447474aebf51e378746"},"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":"9e3efc4e144be0e6a68ecf47bcae247317f5a3f59f3c29791c01a2dcfa2d83d6"},"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":"fea4c7468a3f9e9f4d4c3214bba66f6a32779d3edc17d175ab8d42fdfc5a0123"},"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":"1b2a0e5485316725044ea5dcb886dd56196ace01495ce7cb202ac1a671185ff8"},"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":"35155c421d3949779138893b6f0e6c9efcfa7ad06a60c0df63431e4bdbe95b6e"},"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":"72e88573570ab96902fdb0786111a3694bbfd30b3a8981a1cc95092e2cc9cd07"},"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":"699a2d05ed494b6b42268fb72e19f44c60da42346600a44e81316359fcdd0dbf"},"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":"76191ab658c078e0c84069b1af6a8bbab9c2f1c6cd1729536bb391b036871cf5"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"730ad7752347faba3a02c98649e054c52ee19e0e59985e92d679b5a854d466c3"},"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":"8f6d5c18a7648ed9fbb5716c21d5422ba09176ad95b0ca89e37787bb654ab4fd"},"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":"32ec65475b62fde465339bd6485bcfa505d09cc44ff0ef2bf2468c90ff16d727"},"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":"e8ea4ddf219125fc3b1c619a73eab0c385fa543f332be9ff528536ac55afd957"},"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":"c4f0405456432cad02bb0ba2bb20d6bdf34e0d8f3938e147411eece6b8b2915c"},"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":"35168bbb13d859a635be5de49d5e36ac8d3c8d53300db2bedcc1dc46b0be28dd"},"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":"757bf58dd3669b217ba538fd85e5800aa717e277f0765ef50ef9f682416763b3"},"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":"3400ecf07558285b94ef8dbe1d1ad4ce71b49dacb77c35a9b6ab0bccbc8d45ef"},"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":"0e855ea05d38646ed284dc55ba5438e503da3a44e50b634503d9929e50c6b658"},"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":"b854b53f12a435c9d3138bcc6a212b1f2a8db55a7eee290e9be8890e9d9cba28"},"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":"7269a3a4fbaf75fa7ba6ed6540f937941ebe68ad23a481f7f335ac36b467c93f"},"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":"39ebdba234d85996e628a05e81b1a16f270cd2275c6a06ff28744208097da09c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35301a228e28a7a85e536f8e72f84e4ab046e788573be878318fa317aa44a8f2"},"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":"b275f5f87bce1691b4971da5f87c31ecf11efb2ddbf44af33a9761f7332f9937"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"282abce7e9b0336f5461731380e64439d445429126650faa893818a182dfef7c"},"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":"62024e3e79834640b7fa6a1fc39a46a5ddf51556c0ebb778ca85a93b05dd8468"},"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":"5d66a46d5e8da7dd4f4fc9ef9a87740be1c3dd17589af656d915cd583f578e70"},"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":"2cb71831e986b31ae07e8d18920a1e9a7f04caa0843f7d3d2a45e4bcee9ab622"},"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":"55a9feee9774121f2f799f78815f48406c361b20f27615a6b6c4aa576c312700"},"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":"c2c63503510bd646698a535a1cc8bfae212902ffac10e52d0fd5b7357b4d0a78"},"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":"929889218fe2adba5577454da6e2fffb54a21f38de62c057ea511bf22abbc080"},"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":"5b679b4d7d976e97b3d1f8dccdff92c01d63131911827b8012dd9ec51b662a28"},"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":"8a09be642eddaeccc3b7747d20ca12b4e5e143682e88c838d9eb5c0b3f5ea630"},"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":"b28dc6b73a0d0924ccbdb08cc545199979680559697b0ca7cdb60647100bd2fe"},"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":"5737efc06c6e8974d9eca5116fd6fad508959b148616caec8005de3fc2426593"},"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":"ee9679f55e1593b9f18dcb5027abf222c6c9409777276f333747683d0d456fa2"},"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":"5c69b484ec756d4916e14a04ee03cf6c5312e79e0e01be5125617bdb0aab9252"},"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":"377d1ef34a200236ae2b695b21a7040932abc16a3cb2597b618e145af5169315"},"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":"ce843bac9cbcc050609565058424b05846465ec3b738a69f020d0273395f7e75"},"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":"e5b8534817673edfdfa3614c08d359e05369e05d6c5a99d17525b058f1299812"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e8ccf800812c480da8f2ba108ab325359458bec3c0867491bac823cc858509c"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b77543cc4f0e6fb762817c127a59855d156041ac4fa26195d22cee9abedbdd88"},"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":"6073c18471aefbf2684cd8b00493bd81b23d910abf9b4bd25a2e6a614e71e5ea"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8fef5dbc4d4c151028ef834cb0356843d7e6e2c835b552b9c5da743236f41bb7"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"865923dae186474621b2c52d428b4628b6b200d0bc9295c00218360779b62478"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"d84f8a20f29d13a5aa9d21d0b9410397e4056e6df0ed2886b69abf1a709624e5"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"af01f3e060ab4c1a150a0cf4b222ddc699fb85a695419d1383bcc6d3d660c157"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"20eedad4716c331239cfd74166b863aac47c8ea202f73878bdbf6307df8a7fe5"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"6054a73e7ded325fe9bcc187bc456717049b05bf003ce31b3aae953750f4247b"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"f24ccfa43ee58fa4098b5166a42fd5faa7e2b2250e03e0738480512ac0005e53"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"f577a0e8e8371cb0146db2aee67c25e12e9f62280a2e112363ba2fa97ded4d86"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"bdc5ade706336317900badde072c1f50283a7975ca7c14cca88433f8c59fba65"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"fbb66da4d7c2fd6d7ba84941c82c8f05d1d1dbd77b44d53dbce44bbb5f819566"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"19334ac0f219c6c08c11417bdcd3db7df440aa6940aaeb666eded8612eda6045"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"6c478f03be4d689f4719278c87e21a1a0cfdac68f84ca3ff8b324f1b4c1eadb6"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"0a880744c4a5fae574a074f154709326e5be1fad32cb79a05b59dc870aada7d5"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"2e1c272c0c920de61df3b6bdf29355797df1212a4e9d3511ea1b90631b107f70"},"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":"b4e90689769dc1cf05394a28241e40ec69a487b0df66d8bdb85cbbbadb27825a"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"691c990c2f578d3581efee567a18c2659a2450777fc8616415f685f45293f9c3"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e3d3c6971aa48b5d1bb50c3a2ad0a4a2f2cc16472564e515217741bba4b61063"},"taxa":[{"id":"CWE-346","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":"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":"4d9f612b6cda7da1e2ea2ae7b2a517353b14ee0450860ff6584329ed9c68bac5"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b72c31664eb769af4775ae108f197b3a2882e4b7586eeeb735380be04581a4c"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5071b8d0d7f157dc1450588ce2420e8e2750d9d8558048f2c9c1eef5b5d9ac99"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"60d1b208b57c76e339e432f105a484728c957917d78f7ef74a3500b9e9e66c10"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed8c7aed4246106fd33fa6e1503099122f7bc3e0cb997970acac2be3e163b227"},"taxa":[{"id":"CWE-345","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":"1f1dc214b0c82f113d4a2154268844191bd137da15c2ae34feb5dda9fdcfe869"},"taxa":[{"id":"CWE-345","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":"caa8eed8ca9e4b33d34ddc4ae676acbecd57061ba54810e032d5dea64e8e40d0"},"taxa":[{"id":"CWE-345","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":"7bba53566f754501a514fda7ad8de88753d94c25983e437d7c03d8bf0e77da52"},"taxa":[{"id":"CWE-345","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":"8c26da5514172158c8a287484dfda0e21a6144f3a3e7e8264152fbb76d5ef5d9"},"taxa":[{"id":"CWE-345","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":"6a1652eea3e8eebf09efd351978e71db87c8b28e7f979c6daf4ca49fab4ded65"},"taxa":[{"id":"CWE-345","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":"405993ce84d35f5bbf70550fa311e50d014e1c3303154c8bb9df48c5ae4cdea0"},"taxa":[{"id":"CWE-345","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":"4473b4483eb7a74a5621d5eef1b32a596365161f1877ca2217733dad89d35255"},"taxa":[{"id":"CWE-345","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":"452b67f80635152c93a3087108b4285c2a7fc05f0d23d55a8941e585827e1309"},"taxa":[{"id":"CWE-345","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":"5c14f1ed32e7a6b56fa70bdbfa313cef952e40c7cc30ba2114470dc0670e0036"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"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":"1ff02e41346634cb4ace0e512ac772cc719806681f58a2a0558f38775e7f32dd"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7253196ce66306852a2b252201516acdd20afae656d6d55e900252011ee2f881"},"properties":{"dependency":{"package":"glob","version":"9.3.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"adbbfbcddcf5c103ee57ca606fe4120b9539ee0ab225a97c468418375f03998a"},"properties":{"dependency":{"package":"minimatch","version":"8.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"61ab5a96515dec3b43881a99beabe5bd1c6108a6680491803b4e330a601f7c8b"},"properties":{"dependency":{"package":"glob","version":"12.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5486e7b39c3bf174128358ede29e8c8e48940d49947eccf6f045f0e40eb95ba8"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4d9031c1ae994de0fc0586545ba87ce80b5d47785a3ede4de6ae529b86b830c"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.0.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"273924eec4d3a010f3d47c7cbad04f5283186cfeaadca62b5336e8a3f507ce5b"},"properties":{"dependency":{"package":"glob","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","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":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"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":"D31","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":"d15df5171d54d9a3cfe919193b940b95eb1db599610449c8b68164e072da6651"},"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":"D31","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":"e04b5602159cda120607601027e36bb87006d4b0e62de991614d45fd572a52cc"},"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":"D31","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":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 2 of 140 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 140 of the 228 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: components/chat/ValidationCard.tsx, components/url-input-dialog.tsx. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/ValidationCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa92bc2f7065d4a54386c5b0104f68228546c8ffc280d0ed42bda7fbfdb941ea"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/url-input-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcf5e21998608e69bc36fddf41f6b852defcd531c60b3c0522cd24623e8d839"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: route.ts \u2194 ai-providers.ts: \u0060app/api/validate-model/route.ts\u0060 and \u0060lib/ai-providers.ts\u0060 change together 57% of the time (13 of the 23 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u0060c8463aef\u0060 Add Atlas Cloud provider support (#896); \u00604984be82\u0060 feat: add MiMo (Xiaomi) as AI provider (#887); \u00600f969984\u0060 feat: add AIHubMix provider (#865) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/validate-model/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"279afc6495c481af3c9f7ec3cd55b3ebcb47f6734249244b056ee19ccff4157f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: model-config-dialog.tsx \u2194 model-selector.tsx: \u0060components/model-config-dialog.tsx\u0060 and \u0060components/model-selector.tsx\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00609efec68c\u0060 change \u0060scrollbar-hidden\u0060 to \u0060scrollbar-thin\u0060 in \u0060ModelSelector\u0060 and \u2026; \u0060be4bc916\u0060 feat: Add support for Chinese AI providers (GLM, Qwen, Kimi, MiniMax,\u2026; \u006054fd4850\u0060 Feat/add modelscope support (#521) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/model-config-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"197de788f6ddc6a0b770b874091da68e820e6342767bd1697a4bbcf7a0658da3"}},{"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":"68342dff3147e6a5b383819d61a1bc814ab43d6a181d61e7155da58f2793d074"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/[lang]/admin/models-section.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"803127fd0103a49ade45e64611d595d5afbc4108aa07be9e52844a711dadde5c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/[lang]/admin/models-section.tsx"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"50be453ebe5ac84a52633ee3e0318d988ebed4d3fb922c9c8e468edc1c4a32d1"}},{"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":"components/chat/TemplatePanel.tsx"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc653f6d0efcedf743343e8a4ca88e50264fadf88954b8d732236d340c68ed44"}},{"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":"components/chat/message-list.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c3f7b9800501f99ca3c7680a58258b80c837a5dfaa91dbe29867efda0c4490"}},{"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":"components/chat/session-menu.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa5447164d2b21111e692f4d534ed047ee2bf084664ea268a517794ac57411f"}},{"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":"components/dev-xml-simulator.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a97cfa63ba59cebf52bfc4725c65259233a1f49e43414d3603091ab2f02e539"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\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":"components/dev-xml-simulator.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c94b8171864e955c0bd8483d46e6d544cf0df5241fa01d4df48a97789a9606"}},{"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":"components/dev-xml-simulator.tsx"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"92642b802880816af17f528b0f51ac5a7dd5c30f46fde2a465fd1866be4b2263"}},{"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":"components/dev-xml-simulator.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4c8388399808ce9bb5ac12dacb8d687dfb49e3d32a5f8c01cb06145be85564"}},{"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":"components/dev-xml-simulator.tsx"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1745cc437c125e90265a00bd07df59133c3d8ad5383b818509ad5cf105e810"}},{"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":"components/dev-xml-simulator.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d172f3d42e092b3b06a737fab5285111544b1a42311c9cf6ecaf4ab8b0daf5"}},{"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":"components/dev-xml-simulator.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a49c9a655fbd9a6f8f53a118d902b3ba96d19c82a15f82107449ccd58273c4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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":"packages/mcp-server/src/preview/index.html"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fa1d2cde8b360241260de040dc4ec0b09f9d1a0b64bee38a420247562736b4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/preview/index.html"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7da04306c634026cbce9dd4e9fccd52cafce63bf6c32eb8176a7d6c5f5bc2c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for 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 for=\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":"packages/mcp-server/src/preview/index.html"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b29255e0166492d04073a103e75ac9aa9b82e1e619b78ab9134485264bb81c"}},{"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":"packages/mcp-server/src/preview/index.html"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9542602299c24e0e2971d57b351ed2143c4e90358bc13329c7cf459cf849ff4"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: userScalable: false or a maximumScale below 2 makes the framework render a viewport that stops low-vision users zooming to 200%. Remove the zoom restriction from the exported viewport."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/[lang]/layout.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a374d71c99046cc56eb01414e3bf2b11abbc5504bfabf31119571816422f33"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Declare it the way this router does \u2014 Next App Router \u0060export const metadata = { title }\u0060, React Router/Remix \u0060export function meta\u0060, TanStack Start \u0060head\u0060, or a Helmet/Head component."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/global-error.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f73b150a5e23159d08ad2e1216c533a91179968646a955eef99042574697551"}},{"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":"packages/mcp-server/src/preview/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8155a40958fc52a33d95a54f891f47d6c1daa5465d94814870fd9ca442816a97"}},{"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":"components/file-preview-list.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"01472c669039723d039a746dfceef9f2572acd7b391f7dc13b9c80b7ddee58c7"}},{"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":"components/site/gallery.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0547dec7ab8a16a64cfa43508be9d760ff942d8926e47f409a36524454a6f3"}},{"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":"components/site/site-menu.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c577452999542ee85452bcdacf4eeca9927ea5e7928cf8f5b9981fec951bbf4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cspan\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/canvas/canvas-stage.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"16423700f50f9f8471a1877b5635e5078d9dff04b5ecfbacf3ece246456f82c1"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/ValidationCard.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a171750ee1f4a6fdc50c644b6212a4957d0a1314f120e0b7853f8e0f0a0a0d2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/ValidationCard.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8143af33cd0f974b4fd75bfb29d9a07c1662a41be420a796e530152fa1553655"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/message-list.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac951159899ea749f568d0deaeaa69f61af3f99ab36102aa46a48c9b32e20d8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/message-list.tsx"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9cb0e6cf89c4f0caab838740328d3d123a67d429b483eba356adcc3e6d1faf"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/session-menu.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f435514801adc3fbc390dbad7e65aa0713b92a5286fe88850347cd769853d88"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/session-menu.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda7fbcd970900c9be28de77c0c937a7ce8e37343ed0b8e1a8b559225cedd431"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (2.9:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/dev-xml-simulator.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a92746168b25211a22f2519733cef1557936ee7367033332c825d3892851065"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.8:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/dev-xml-simulator.tsx"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"994ff7174024d4ac965daad350ab19b2497b7b87e6b4f7dc78f6474c9b66dbd6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/save-dialog.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"43978e30468b7045ce2c175fd4b9e40c4bbf0df5f82326880dd52432196b8286"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Ctextarea\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ui/textarea.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30dc53dadc06bb502d949b8800ea559dace1ff08b8d0e0fa1775c9722c87203"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.7:1): \u0060#header .session\u0060 sets color: #8b95a5 on background-color: #f1f3f9 \u2014 2.7:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/preview/preview.css"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"034e471eb4dc371fe8dce35e07af7c3faa307dddec3b6ea1f8b4a47a76768fd3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.4:1): \u0060.filename-group .ext\u0060 sets color: #71717a on background-color: #f4f4f5 \u2014 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/preview/preview.css"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89e451a9bc68dfcd484b60f0db7ca74fcb07e51f953740ad0b45ae7a7aea449"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.modal-content\u0060 moves (\u0060animation: modalIn 0.2s 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":"packages/mcp-server/src/preview/preview.css"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c846d79756144cbb5d4c8b12c6c0aa21eb2f3c2a46e001476ead265473bb3fb3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.lp-click\u0060 moves (\u0060animation: lp-ping 0.4s ease-out both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/site/site.css"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf95e81075dd145530e3fd7cf12c723a82d7bbce58dc37f05a504ead32ea7f62"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060target.animate()\u0060 moves (\u0060Web Animations API keyframes\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":"components/model-config-dialog.tsx"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"3711c6f17f71732bc348ea8571f9dfb280548cd351b76870033942cccaa90dc9"}},{"ruleId":"AC7","level":"note","message":{"text":"Accessibility enforcement below the top rung: An a11y linter is configured (Documented) but there\u0027s no automated a11y test or CI gate. Add vitest-axe to verify at runtime, then gate it in CI. What was searched, so you can tell an absence from a miss: the 95 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"biome.json"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ChatEngine (18 required operations): \u0060ChatEngine\u0060 declares 18 required operations: \u0060setMessages\u0060, \u0060stop\u0060, \u0060setInput\u0060, \u0060setFiles\u0060, \u0060submit\u0060, \u0060improveWithSuggestions\u0060, \u0060regenerate\u0060, \u0060retryLastMessage\u0060, \u0060editMessage\u0060, \u0060dismissSelection\u0060, \u0060newChat\u0060, \u0060selectSession\u0060, \u0060deleteSession\u0060, \u0060renameSession\u0060, \u0060openDiagramFile\u0060, \u0060leavePage\u0060, \u0060restoreVersion\u0060, \u0060undoVersion\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/chat-engine.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"524f8ab294feeec3c37c0401601e9a393930d28cb0bba2a2256ce32f30401029"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/access-code.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff1e73013d5ab9b1e590d9b4983292578e5c89c442249cabb0e999854e78f09"}},{"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":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/mcp-server/src/logger.ts\u0060 reports through \u0060console.*\u0060 at line 5 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":"packages/mcp-server/src/logger.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"526816248d6c0c8c6d830d6135ade3ca998f97fcf4c103a10255a85c32cb80b9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/mcp-server/src/logger.ts\u0060 reports through \u0060console.*\u0060 at line 6 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":"packages/mcp-server/src/logger.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c3e6acdcbd5a5fb82b53713fa93c58ee66767a29315b35d37db252d3236225"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/mcp-server/src/logger.ts\u0060 reports through \u0060console.*\u0060 at line 11 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":"packages/mcp-server/src/logger.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83dc75236f0b5b5b6aef3ced8d0f11de4d00cbc87ec64f6a329f564a68abdf0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/mcp-server/src/logger.ts\u0060 reports through \u0060console.*\u0060 at line 14 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":"packages/mcp-server/src/logger.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc01e67d5db1f649e45ebc4a08187eb462b49159410790b30bbf8761596b080"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/mcp-server/src/logger.ts\u0060 reports through \u0060console.*\u0060 at line 19 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":"packages/mcp-server/src/logger.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"edacdf3a8abbdb00d44ebeef35697592560185673232c8b02d8cffa1723cc6ab"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/mcp-server/src/logger.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":"packages/mcp-server/src/logger.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"230325f7725a92dc7e86982e2ee2d7afe86c48111cd97055971bb7ddd5199c93"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/mcp-server/src/xml-validation.ts\u0060 reports through \u0060console.*\u0060 at line 376 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":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"141549d54da5b67fce572429d63e687c24ff6987dcff8d70a1ff8b3f8beb5afb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/mcp-server/src/preview/preview.js\u0060 reports through \u0060console.*\u0060 at line 247 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":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3f4b67a5d2a1c0a4455cd3a248b092b5a9bb25a4fc6b4229ed64506ea9b978"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/mcp-server/shell/mcp-sync-core.ts\u0060 reports through \u0060console.*\u0060 at line 619 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":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a64223a4ba13bd6de906dd73563edaa7889dc1117ee8e8b219113b6d0849ac"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/typescript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 28379 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/auto-format.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\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":"packages/mcp-server/scripts/fetch-drawio.mjs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e915d3b4e7dabe58f27317929525fe309e9f00a258fdb656b66fe3517a9c43"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchFn(\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":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb386bfcebd5dee54fb6a1c92fab44ec6bbf11be03e1157bd3b31497dd85632a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchFn(\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":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b412c1fe9ad996ea3ce12959a239544e299ac8d8b1405e074094c2ac014b8d5"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\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":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbaa69b155c0a10e379078c29c40d7d4eabf6df66c149c682966778a0c2a57bc"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\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":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32163fa73ad2385772184417ca81438c54266eb16bc502090d26591318bd86a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060exports\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/afterPack.cjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3847a7c86eb45db6ac9cc0ca0bb7f08f3d8d05e4c083968a64c711e78c757c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060exports\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/afterPack.cjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"df11f2c11e3a10ef7b1c709de9f44c1b3da3073cb0112cac34578fdd8c6e12c9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060exports\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/afterPack.cjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c431ab7e742a1b1c2490c1916f7d43f2d8987a21b5a9f2fbc43948fe72ac9b8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execSync\u0060 in \u0060exports\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/afterPack.cjs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be9cf535c4dc7ac9554b04ae118830780759ea7c425f2178d9ef53aee2b28f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 6 sibling directories (8 clone groups): 8 duplicated blocks under the repository root have copies in at least two of the sibling directories app, components, electron, lib, packages, scripts \u2014 5 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 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":"lib/chat-tools.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"73da513b7ea0f0b23764ee3289f36b1639c9da612c5f9df3bbb0b8d14f0e9937"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2 locations): components/ui/alert-dialog.tsx:53 \u00B7 components/ui/dialog.tsx:88 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ui/alert-dialog.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b466bba1baae415ba11eb34f14fde27da3333aa792d280e802e7725b20407030"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): lib/session-storage.ts:50 \u00B7 lib/template-storage.ts:45 \u2014 the two spans are one implementation copied and then locally edited \u2014 232 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":"lib/session-storage.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0582f5e02cd2214e702ed5f7ccc762d401518c0907e54d4168fe1cbe571b3025"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): lib/chat-tools.ts:66 \u00B7 packages/mcp-server/src/index.ts:818 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat-tools.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75239b29e83595f9ddd142aade4dc9db32a93a00b4acec430816c97ccca3e9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/mcp-server/src/index.ts:664 \u00B7 packages/mcp-server/src/index.ts:949 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/index.ts"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b250ae62cfb1321989f3644393dbcb271bf4043f9f6723210b72e37e3b0746"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): app/[lang]/about/page.tsx:58 \u00B7 app/[lang]/gallery/page.tsx:30 \u00B7 app/[lang]/mcp/page.tsx:88 \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":"app/[lang]/about/page.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e888251eed7ec8dce0c5865dd2677446aac623078211bf927302da9641a91c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): app/[lang]/admin/models-section.tsx:263 \u00B7 app/[lang]/admin/models-section.tsx:594 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/[lang]/admin/models-section.tsx"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"768d51f550ddcb940ebc3e3fb266f17537054dd71e502839a13d29dcc07fa820"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): app/api/log-feedback/route.ts:26 \u00B7 app/api/log-save/route.ts:7 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/log-feedback/route.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd02ba4a007d473e4b38c9e47e643f7665e8af2ee15cc485d8bd156398cfc18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): components/chat/TemplatePanel.tsx:516 \u00B7 components/chat/TemplatePanel.tsx:544 \u2014 both copies are in the same file, so extract the block 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":"components/chat/TemplatePanel.tsx"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"32608264652c6569a87cf49850c35a020a7f0a31c05f246900db9bb587a0a0c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): components/model-selector.tsx:533 \u00B7 components/model-selector.tsx:550 \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":"components/model-selector.tsx"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"840315248b27bfb34b6fd1e95bc146ff593e6e84f73337deedbe34c6c313fc45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): components/ui/select.tsx:108 \u00B7 components/ui/select.tsx: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/ui/select.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4147605e34a5de5ab0c0112e843fdc081426342607e9b8d9686e46ac4450216f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/mcp-server/src/diagram-operations.ts:256 \u00B7 packages/mcp-server/src/diagram-operations.ts:281 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/diagram-operations.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"26662cd205854edc9821028eb5e7e35fc931d87337cc1b0a1802d04627584bab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): components/provider-credentials-fields.tsx:172 \u00B7 components/provider-credentials-fields.tsx:218 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/provider-credentials-fields.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f1ecb29b32e4eb50ac382b0581a75f42bb92c649d9958b484e468c7c002c68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): lib/deprecated-params.ts:70 \u00B7 lib/output-token-limit.ts:155 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/deprecated-params.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ab68274a5f7cac929354cab9774449c62075add3b83705e85ff3a0e1c4346d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): packages/mcp-server/shell/mcp-sync-core.ts:579 \u00B7 packages/mcp-server/src/preview/preview.js:214 \u2014 the two spans are one implementation copied and then locally edited \u2014 120 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab27d94189b3102f4b282e545a3db5518de1d9def731bfbb833af2d75c682cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): components/chat/TemplateFormDialog.tsx:147 \u00B7 components/chat/TemplateFormDialog.tsx:166 \u2014 both copies are in the same file, so extract the block 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":"components/chat/TemplateFormDialog.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b0c71b9f776d063f91d01e3e3183ebd171097b703c41ece79be4019d89a34e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/[lang]/gallery/page.tsx:12 \u00B7 app/[lang]/mcp/page.tsx:70 \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":"app/[lang]/gallery/page.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f728d0e67f7e77d072456f2c6d51f9f6e8602928cba9032a494e3a64b4cc349a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): app/[lang]/mcp/page.tsx:263 \u00B7 app/[lang]/mcp/page.tsx:315 \u2014 both copies are in the same file, so extract the block 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":"app/[lang]/mcp/page.tsx"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"260975afcaf679eef91f05af657b9a3363b82a1df43f1ad16e72bbe1a712f143"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): components/chat/chat-engine.tsx:743 \u00B7 components/chat/chat-engine.tsx:760 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/chat-engine.tsx"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf404ad00dc553a1417c8e85432c01eea08d27d8bf08171ade988ac02b60d8c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): components/provider-credentials-fields.tsx:358 \u00B7 components/provider-credentials-fields.tsx:463 \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":"components/provider-credentials-fields.tsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"786cd7fddb19b86719390183b57c8600995105e100dcd570052c731ef315776f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/[lang]/admin/page.tsx:333 \u00B7 app/[lang]/admin/page.tsx:395 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/[lang]/admin/page.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf921f455796a77ded2fd9ed35af23426ff219c5d8d7904da66046597d6eb6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): app/api/admin/providers/route.ts:50 \u00B7 app/api/admin/settings/route.ts:57 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/admin/providers/route.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fd1654764ed71928dfe9b0e5344f4209b3b814984b70035d637981bf9cd974"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): components/chat/ValidationCard.tsx:220 \u00B7 components/chat/ValidationCard.tsx:246 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/ValidationCard.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a48896e2e30ca28e3286709160bb6c4a9481ef2f6cc628394a87d3e55dd60b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/use-quota-manager.tsx:32 \u00B7 lib/use-quota-manager.tsx:51 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/use-quota-manager.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a256d7e74a9dfd1618d10bb7c307346f55405c14c9acb588cd59e59f8f379bf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/mcp-server/src/http-server.ts:1116 \u00B7 packages/mcp-server/src/http-server.ts:1164 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/http-server.ts"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2152b612071417b9cb04d8a5e1ac9103758398166b0929795faab7805bb47a1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): app/[lang]/admin/models-section.tsx:127 \u00B7 app/[lang]/admin/models-section.tsx:575 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/[lang]/admin/models-section.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"240c14c16cb502def0ef6210c32d3ed253cacb469414430be72594719121bbf5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): components/chat/ValidationCard.tsx:65 \u00B7 lib/diagram-validator.ts:41 \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":"components/chat/ValidationCard.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca5e14c3ec694f06e548cd70335cd2084b26d5dafdbf3d7cd21a67b1f707973"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): components/chat/tool-activity.tsx:120 \u00B7 components/chat/tool-activity.tsx:203 \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":"components/chat/tool-activity.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b2f5a90e27448e4227871212c2930908fec2e3f79e352838826405014ebf5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): lib/diagram-pages.ts:31 \u00B7 lib/diagram-pages.ts:72 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/diagram-pages.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a3eba29d88e47dd34b92517f8e8c861bbd30f5bd0ea60605aa990ccd8f1cf7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/dynamo-quota-manager.ts:79 \u00B7 lib/dynamo-quota-manager.ts:188 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/dynamo-quota-manager.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c217c9e2dcf5192aecf5c3c12b4b9702feb185cdebbc20b961dc645143dd4df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): components/save-dialog.tsx:135 \u00B7 components/url-input-dialog.tsx:59 \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":"components/save-dialog.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"348979b8961759babaed7378f1d6430dac299d741e753bf6d61ab34288a62f49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): components/chat/composer.tsx:337 \u00B7 components/chat/message-list.tsx:243 \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":"components/chat/composer.tsx"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"176a3b0213bffed987a78059293b0a8b627b9222ae853f94b446514f64a01e20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): lib/admin/providers.ts:238 \u00B7 lib/admin/providers.ts:281 \u2014 the two spans are one implementation copied and then locally edited \u2014 95 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":"lib/admin/providers.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25fea790a43ad4b79fe52a24a40f11fffbfa5f6036e21ba5d945259da48ed52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/mcp-server/src/http-server.ts:1155 \u00B7 packages/mcp-server/src/http-server.ts:1198 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/http-server.ts"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2265df3eed857e025fc7bbf7de3ad90797b27698ea68c051b7bed4b21e659d05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): app/[lang]/about/page.tsx:38 \u00B7 app/[lang]/gallery/page.tsx:12 \u00B7 app/[lang]/mcp/page.tsx:70 \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":"app/[lang]/about/page.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a19815d073d2331aa28a81527d8f3f8638f0ef50ddf193131e2fb2cd914bd5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/api/chat/route.ts:300 \u00B7 lib/test-model-connection.ts:200 \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":"app/api/chat/route.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bb501b2ad41456d2b175982e046d763d28aeed25522cd0adbf7d7c0bcd1280"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): app/api/log-client-error/route.ts:39 \u00B7 app/api/log-feedback/route.ts:37 \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":"app/api/log-client-error/route.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc012f42accd42a6134bbf3e81670e469afe9887a18a98266ab00f3651fbed0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): contexts/diagram-context.tsx:251 \u00B7 contexts/diagram-context.tsx:326 \u2014 both copies are in the same file, so extract the block 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":"contexts/diagram-context.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e467b9bddcd04328bf7aee21e16f4a89d16dae972a080469b6c9bd5759036d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/mcp-server/src/index.ts:1766 \u00B7 packages/mcp-server/src/index.ts:1804 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/index.ts"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f663036a42dbe57c6c0b5dcf1957dc6138840dbaaec9b1c8760a7dd5100acd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/copy-dereferenced.cjs:21 \u00B7 scripts/copy-dereferenced.cjs:32 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/copy-dereferenced.cjs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a466ab6165a805692598f33606af3e0bf03c0127bc45b3bf4cbb8e738a89298b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/diagram-context.ts:108 \u00B7 packages/mcp-server/src/edit-gate.ts:69 \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":"lib/diagram-context.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6aec74bd6b8cd5301d019dcea5927afa35e5f8c6097f349d958b39d01b81e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/mcp-server/src/pages.ts:242 \u00B7 packages/mcp-server/src/pages.ts:251 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/pages.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b9b5421c7456a3226a3c254093966593309edd3918675596617a3adfec8dec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): electron/main/config-manager.ts:19 \u00B7 electron/main/proxy-manager.ts:18 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"electron/main/config-manager.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3884faf2984d51aba1fb64d1c6dcb1c82dcdb8b243ba731e16759676e3fba932"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): lib/drawio/editor-bridge.ts:329 \u00B7 lib/drawio/editor-bridge.ts:349 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 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":"lib/drawio/editor-bridge.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fe3642d8aeb0de720f5196d509656dbf9847576c31b8b03a7a5e01cd7260b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/mcp-server/scripts/fetch-drawio.mjs:102 \u00B7 scripts/fetch-drawio.mjs:89 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/fetch-drawio.mjs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"632f8301e9a90f92c3dfb699e81c6055293c6e020ce32d014a95d1801d04a558"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/mcp-server/src/compact-cells.ts:71 \u00B7 packages/mcp-server/src/style-classes.ts:185 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/compact-cells.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5276b7a6dbc9e12dc45d4e0207abf519cce7d8b85717cb6f0533694e7d15ba0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/mcp-server/src/xml-validation.ts:198 \u00B7 packages/mcp-server/src/xml-validation.ts:224 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fa9ac4ae6f3d488a5b31a2685314fa901e904e0de9174922f55356e76aecf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/mcp-server/src/xml-validation.ts:227 \u00B7 packages/mcp-server/src/xml-validation.ts:246 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91aca7549ff3d37c4bdf865bee7b3e9661e23c0fc6200077ae0864947383762"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/mcp-server/scripts/check-drawio-files.mjs:26 reaches into another package with a relative path (../../../scripts/drawio-zip.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/check-drawio-files.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec73e0b2346a172bc75b851658d8cb4297a2cfe2e38b1cc44a7867c8bf72bd5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/mcp-server/scripts/fetch-drawio.mjs:17 reaches into another package with a relative path (../../../scripts/drawio-zip.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/fetch-drawio.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"665595b07e79ce3534ba79e62c071aa5f4e4c61251e663be93054c15b6ddb4be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function autoFixXml (cyclomatic 90, cognitive 130): autoFixXml has cyclomatic complexity 90 and cognitive complexity 130; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dab785a1c07d65105fb709314aa76d12c9d89fada623be3003b5509a9eee1a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleChatRequest (cyclomatic 57, cognitive 56): handleChatRequest has cyclomatic complexity 57 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":"app/api/chat/route.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4595b419d8f0f9b56ed1d62cd9f879db1b1f20b8d1956da665fbdd8adc84fa79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderProviderPage (cyclomatic 44, cognitive 40): renderProviderPage has cyclomatic complexity 44 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":"components/model-config-dialog.tsx"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf35273699a218202ec77fc10fed6cc465a32df234032b88eb4fe702d78cc5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testModelConnection (cyclomatic 43, cognitive 41): testModelConnection has cyclomatic complexity 43 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/test-model-connection.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01b83b42d3f44b8ffdb0e738d01bb5f132ea56c0b85c35047fb0d1462fa46e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 42, cognitive 66): (anonymous) has cyclomatic complexity 42 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":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c17f6c52331673a97f40bffb1bbd8be368c7a86c6e5f2441b37ae99ee3303ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 59): (anonymous) has cyclomatic complexity 39 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":"packages/mcp-server/src/index.ts"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adff28f25e63f3e081732f1ebaf627535a5d0372a97b76e1195574a145605c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildProviderOptions (cyclomatic 38, cognitive 43): buildProviderOptions has cyclomatic complexity 38 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":"lib/ai-providers.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f05be9766c07b62d20d560d63d03f5b9082bc32ce51725f9059a395bee0694a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAIModel (cyclomatic 37, cognitive 43): getAIModel has cyclomatic complexity 37 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":"lib/ai-providers.ts"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9fc421c172426e217ad575f34c19965b1f784b2a8dea242a853f6799091182"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolActivity (cyclomatic 36, cognitive 51): ToolActivity has cyclomatic complexity 36 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":"components/chat/tool-activity.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"64eac1cc12ddb1d5f59e97ce74031a5fb6f86ebcb49029e53c51ed25dad1d90d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderCredentialsFields (cyclomatic 35, cognitive 38): ProviderCredentialsFields 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":"components/provider-credentials-fields.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b31929afcfbb3c87c624fd1f0afb27a5f8a5e0b960a236a777c676cd014311"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function poll (cyclomatic 35, cognitive 29): poll 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":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"b556c1a8b9ef07d1990c69349e0d755227eebeace5a0972eebe57db9f61665f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 40): (anonymous) 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":"packages/mcp-server/src/http-server.ts"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c44b2d7c439fbfc8343f831474ad67ad16b5a04b436816810d154a856a08e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveEndpoint (cyclomatic 32, cognitive 36): resolveEndpoint has cyclomatic complexity 32 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":"lib/ai-providers.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc9999dad7dfb5dc741aa466aa0bad929b1029749d4e21ebece75d02d901c97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createModel (cyclomatic 32, cognitive 23): createModel has cyclomatic complexity 32 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ai-providers.ts"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0836a958ba164e9013ea5e51956539c1f0bf40836d2248a250b914505c5bf6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyDiagramOperations (cyclomatic 31, cognitive 75): applyDiagramOperations has cyclomatic complexity 31 and cognitive complexity 75; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/diagram-operations.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e037e659589d53767bd9e966c9f9695b4e7ca47f1a85b44f177f834b4098c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diagramForMessage (cyclomatic 31, cognitive 54): diagramForMessage has cyclomatic complexity 31 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":"lib/diagram-context.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9733a66ae380a94dc098e4cb55330f23a58171391d159fa6e9f17c1ed1d5778d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drive (cyclomatic 29, cognitive 45): drive has cyclomatic complexity 29 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":"packages/mcp-server/scripts/check-drawio-files.mjs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"6075b30e05f13b9460f0b8c27421c04ab49a1215566d5f5cf27aab65e3f70e11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SettingField (cyclomatic 29, cognitive 29): SettingField 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":"app/[lang]/admin/setting-field.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ee98b8eca66dd68d9c04f88ed368f2817b16ff7d563d5f606aa843ad39a61a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeChanges (cyclomatic 27, cognitive 42): describeChanges has cyclomatic complexity 27 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":"packages/mcp-server/src/edit-gate.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb11f4ddf4d6b1647c00beeb72fd0cb74354d94c4d7ba2bc1ebb9e331025c6ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyThinkingSwitch (cyclomatic 26, cognitive 31): applyThinkingSwitch has cyclomatic complexity 26 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ai-providers.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f0a731d1c42bac19d0503b7c9ac69652f54b89d123d5aa57a248526b8aabe7"}},{"ruleId":"R3","level":"warning","message":{"text":"components/chat/chat-engine.tsx: 1941 lines of code: components/chat/chat-engine.tsx has 1941 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":"components/chat/chat-engine.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c342b793ee36d695b587306e8648ae1af1a3a23cc2a692bd7de61f4610e559"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/mcp-server/src/index.ts: 1849 lines of code: packages/mcp-server/src/index.ts has 1849 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad40a4f75e9ac818a87760e313d0267ed34328bd69a913f04ddf7b89f2874537"}},{"ruleId":"R3","level":"warning","message":{"text":"components/model-config-dialog.tsx: 1601 lines of code: components/model-config-dialog.tsx has 1601 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":"components/model-config-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2737aa255538c498d7964220c7ffdb510f7289a5d56cfcfe1357a605ad0c7c"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/ai-providers.ts: 1357 lines of code: lib/ai-providers.ts has 1357 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":"lib/ai-providers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81913896b2fda4e71aba37ee8daa7c531c39711c6e835fb1490b9aaae4ce587"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/mcp-server/src/http-server.ts: 1339 lines of code: packages/mcp-server/src/http-server.ts has 1339 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/http-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23dc7ec769376c33b936008662516bc8147e037305ac95c2a5ee16cbe4679fe"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/drawio/editor-bridge.ts: 1041 lines of code: lib/drawio/editor-bridge.ts has 1041 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":"lib/drawio/editor-bridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc750081dc9471e8351904620e84b82d35b0a6b8d82b7dd44d41b83af8f7d48"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/mcp-server/shell/mcp-sync-core.ts: 1027 lines of code: packages/mcp-server/shell/mcp-sync-core.ts has 1027 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49831f2570b318d798c2e689af850764cc3a54fd2e7d727b3ab8bd8bcd3d7618"}},{"ruleId":"R3","level":"warning","message":{"text":"components/chat/message-list.tsx: 953 lines of code: components/chat/message-list.tsx has 953 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/chat/message-list.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11135c2e848d25bc2e63c40daf326a552ebf776ba0f1cbdb43ca57a56e21417"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/mcp-server/src/xml-validation.ts: 916 lines of code: packages/mcp-server/src/xml-validation.ts has 916 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba6ffb0ade5863a2d6aa958a892618de749e0daa408f0d7eece209afce316b6"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/cached-responses.ts: 720 lines of code: lib/cached-responses.ts has 720 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":"lib/cached-responses.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16e9a7d6aaae4a054a09653c9627378ccbd1fbb7d1b7e0d990ce08b4c09696a"}},{"ruleId":"R3","level":"warning","message":{"text":"components/settings-dialog.tsx: 632 lines of code: components/settings-dialog.tsx has 632 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":"components/settings-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce08b74b56887326917c37db202e0c5f98adb92e398d30cbb659743a02db6687"}},{"ruleId":"R3","level":"warning","message":{"text":"app/[lang]/admin/page.tsx: 618 lines of code: app/[lang]/admin/page.tsx has 618 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":"app/[lang]/admin/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b0eb648c33bf990012bceef308a98b09538164babb6f81c9737becd94ac922"}},{"ruleId":"R3","level":"warning","message":{"text":"app/[lang]/admin/models-section.tsx: 609 lines of code: app/[lang]/admin/models-section.tsx has 609 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":"app/[lang]/admin/models-section.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d55d204f4635b0d630c14407ad5073ab6f27626f2c7de820c2a246e6531479c"}},{"ruleId":"R3","level":"warning","message":{"text":"contexts/diagram-context.tsx: 591 lines of code: contexts/diagram-context.tsx has 591 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":"contexts/diagram-context.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb41afb61cd9e6eb763574017d72a854e19b01f46728ed8682ebf1e1f8ee8e3c"}},{"ruleId":"R3","level":"warning","message":{"text":"app/api/chat/route.ts: 587 lines of code: app/api/chat/route.ts has 587 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":"app/api/chat/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8448f09d6437fde59a29a5c7e52b04ffcf011415b57062d138e864e389680d"}},{"ruleId":"R3","level":"warning","message":{"text":"components/chat/composer.tsx: 587 lines of code: components/chat/composer.tsx has 587 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":"components/chat/composer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e604a7213784f9f8fdca1fcd1b875cbe50d296d5becbdb31e313fa4684da704"}},{"ruleId":"R3","level":"warning","message":{"text":"hooks/use-diagram-tool-handlers.ts: 575 lines of code: hooks/use-diagram-tool-handlers.ts has 575 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":"hooks/use-diagram-tool-handlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9daa128900afe1992f8785b836e4b2d5063827c3ce465ee4dd479dfb3696067"}},{"ruleId":"R3","level":"warning","message":{"text":"app/[lang]/mcp/texts.ts: 557 lines of code: app/[lang]/mcp/texts.ts has 557 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":"app/[lang]/mcp/texts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3e2b26c31421f7fd56870b0a469222e88f68fc084e2883e9dd567b0d43567f"}},{"ruleId":"R3","level":"warning","message":{"text":"components/model-selector.tsx: 543 lines of code: components/model-selector.tsx 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":"components/model-selector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"223b350d750a25265a8b52f98a0b825b89a25d299ab44309949cca6961cf5e08"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/mcp-server/src/preview/preview.js: 541 lines of code: packages/mcp-server/src/preview/preview.js has 541 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3a726bfc3f68d00c06b2c8fbaf18184346bdc01693ca12766e0f945124feb8"}},{"ruleId":"R3","level":"warning","message":{"text":"components/chat/TemplatePanel.tsx: 535 lines of code: components/chat/TemplatePanel.tsx has 535 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":"components/chat/TemplatePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5b09058ffdb638f977f1b05177c2411272db7c694b5b4c24103423e289d4fb"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/providers.ts: 533 lines of code: lib/providers.ts has 533 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":"lib/providers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d5463cfa3350a2a39cdbb43329d47ac3671b94754521ca2fb7efc0f606eb2b"}},{"ruleId":"R3","level":"warning","message":{"text":"components/provider-credentials-fields.tsx: 492 lines of code: components/provider-credentials-fields.tsx has 492 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/provider-credentials-fields.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01755710fcff92d7d275ee55bb25c2594dedfcf3b0ea2599184d955b28d6b4bd"}},{"ruleId":"R3","level":"warning","message":{"text":"hooks/use-session-manager.ts: 474 lines of code: hooks/use-session-manager.ts has 474 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":"hooks/use-session-manager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b666c240fd2e0aa6c4c4a661503292e0f38328e9ec22f8e1e012281060e5e4"}},{"ruleId":"R3","level":"warning","message":{"text":"hooks/use-model-config.ts: 439 lines of code: hooks/use-model-config.ts has 439 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":"hooks/use-model-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7270f22f3770d2976bed32436cf51ca3c661277add2e893398ac1a6060a14b03"}},{"ruleId":"R3","level":"warning","message":{"text":"components/workspace/workspace.tsx: 401 lines of code: components/workspace/workspace.tsx has 401 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":"components/workspace/workspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60370c3367e0ed150ccdf5859b8c7a38722489673758e68e003222e0b8839447"}},{"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":"components/model-config-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e794ab948bccb90737b5de645762284f112816d1ea0bd7620f5b50c926303b"}},{"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":"components/chat/message-list.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2815ec28bab9acff504c3d7530847c613e67970221f3bb231d149e666ebd052"}},{"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":"components/settings-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d040aef03db56626cb92d85015342032b242582a8b8bfc316a7d4b2d8724ce"}},{"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":"app/[lang]/admin/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c172e65e7778b99877510948f8cf0da5d08ce0fcce65420da4624d5d832601d5"}},{"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":"app/[lang]/admin/models-section.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69f8ea3ab85c3c0b28935e92e81c22130c0ff52d2ab3c13c02431a0f1f3a686"}},{"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":"components/chat/composer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1c205b77276dec878a7c3da25bcdf7b2faa7c433c8d8321b5497fc739a81f5"}},{"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":"components/chat/TemplatePanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4966e7a48320362053518d918e3fd1ac399bab27380ae1ed8f41474a705592"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"533f89bb76e962ea2872196bd1e17be2ad432150c9587f64a5d2eec050432143"}},{"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":"app/[lang]/mcp/texts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e37828e9b9882dc3acd8738f08357f877e48fdc4290bd093d5f72761fac42f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/check-drawio-files.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86f642790a32778be51c4961955f43be5634512f1b9efc7c269c7448aa4d68e"}},{"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":"components/workspace/workspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cb721403a766e45cbe318f64d8a11e24b5f6300b7040ea4bd176c142a64920"}},{"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":"app/[lang]/mcp/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad489723b4428eb6510b622d796c4ae68bd8186d2ae097c00b4562134933e66"}},{"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":"app/[lang]/about/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21e99be5e9b1cb0cd3f412a4cef5abcdaf16555825f89ee196d6b151a646481"}},{"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":"components/dev-xml-simulator.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4a6df9f3d893e860a6d1e00378f4af8516d5c47c0b4178cc58f1daad2a1cd9"}},{"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":"components/chat/ValidationCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b6ab054ed8e6854a2f02a68ea3c1d459a9c436b7a66517268867f71d987ba7"}},{"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":"components/chat/session-menu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbad7a55eafec743ba47e8ab15f202b1b79366182ac5002b77849c958b368e0"}},{"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":"components/chat/lobby-hero.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f3a18aaf09f26c4317deda73b676fae38be729a9c9087bc9ca6b0d9b5be498"}},{"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":"components/settings/providers-list.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1d93d4bcde34d0b23a23cc1fc281778109b122f9a8609203401050bd16484e"}},{"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":"components/chat/chat-panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"294efc7e12565f457c61916ad4542a9aa71afd05c7da6548901276372dbda0ca"}},{"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":"components/file-preview-list.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7fa8a2a10f5fbaa2a0935c07037f854a2943f206354584b26cd5ceeda1b736"}},{"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":"components/chat/TemplateFormDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fc58627287e245fbdd7d524eb0ae2473f08072d70aee6223c6db20375a3feb"}},{"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":"lib/admin/settings-registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e005a8a0bd6a5a761cfa5e500f396aedb28ef89e94dcb2da2ac3c9fd02b630"}},{"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":"electron/main/next-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b263a5e64eb9b8a2946b7d042f6efaa646b8f7f9cf11af2e03e7049fa56d9578"}},{"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":"components/problem-report.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e26c22227fb3dbf289df5972ba89dc16581b499c80c477f05bd26331f8eeafe"}},{"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":"app/[lang]/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77315ac0f78eb65567429cf7c26be5bec04cf0bc7deb1d757c5f254c58ab6c7"}},{"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":"scripts/electron-dev.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7180ccdc2318e455100896534c2375cef357d1e07ac814c8837f48c3a4739e6"}},{"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":"components/ui/alert-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adaa352bde4c944134a875b18aeaadf37ba28b425657892fcd586c19f60cde7e"}},{"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":"components/settings/provider-picker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"706061228b1316a6f002d06e11793529a96c23cae0b517ce1380af6dde20afff"}},{"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":"electron/main/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bded50a40b423c8ec8adc6756e8dec0f3c24e2c9051472aa533b8f08ef133d"}},{"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":"electron/main/window-manager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f93396ca8d286363253b2340d9b1c9854a6f0cb6bb4aa9d7dd30a004ba5c40"}},{"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":"electron/main/app-menu.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1377468d89101e99137c142909a1383585c10e3d58a95b129089aecce62414dd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/fetch-drawio.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab327004dba5fbb7846c9f17f505160613b4b37d810a3ae4034c5b602060e44c"}},{"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":"app/[lang]/mcp/install-tabs.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7b110acef89d563ac91284a2c592362a3265630e150fd2df49a2735056b7ff"}},{"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":"electron/main/ipc-handlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb4cce15ce1e8f4c8c96e8836e63b4ed25697e295468670958e921def1795bd"}},{"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":"electron/main/menu-i18n.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af58cca8bdf8540373e371b6cdb375309cf4b9bdc1385a0bf11d7709425e32fd"}},{"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":"app/api/admin/settings/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b992462d3d66663e3f3afd7756b66e6a1986f64787a2947a68b145f73d5ff3e"}},{"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":"components/chat/mcp-notice.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3a18cf35017730009f45f88c624e2c4d3305ef3961a6a2eb61b24293b9bb06"}},{"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":"app/[lang]/gallery/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8f4d9ce034ab22ff10e1cf93de24802da9feefffaf295d4da9207a132a9e31"}},{"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":"components/chat/reply-usage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6c2682fa6bf082bfaf3d679cc01cbb6a3afd598acc6f8285a20a19680f2ef3"}},{"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":"components/url-input-dialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9d2384baec4f8fcef372dc72a80a6754224acaa6d75224284c2fbb80be882c"}},{"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":"components/canvas/selection-ask.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8158fdea2527105d7363a3f4dca9c0bf7d8ca7223c0d7aac23b18f037c920c"}},{"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":"components/ai-elements/reasoning.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f19038ab832b580c8bff9da09244e5fcca265f48f9d70405d0a4c1ba4d0759"}},{"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":"scripts/fetch-drawio.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76293ea0f112f50ecaf32a7d30d30fccde9ce4ab1bcbd4f31e1d01d7abb5946"}},{"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":"scripts/update-model-catalog.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f252ae0dd32986e73af115b94a462f56fa47b2b07a4a1d3eed2225d11fcf9ba9"}},{"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":"scripts/indexnow.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84df76eab893257aa12b6a91ac7e28cce7139230c2a1d9deeaa1574ce90e6883"}},{"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":"electron/main/proxy-manager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"326fc5e0bb26dd93b92a125dc4a0b23bf96f630c510b17af1b73b76adb85c134"}},{"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":"components/crash-screen.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab6d8d1c971143eaff7a6cfe9b7c5bde456861591d5fd831b0eead948e66d22"}},{"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":"components/workspace/icon-button.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa57cbe7b54ec6d2677bc2f95bf6123734a1aa794234cd3342a3aca5b75574e4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/build-shell.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ce4aa306d07b56adbc65b970340cb5d08e986d91ef16fad225fc1703f2c062"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/drawio-file-list.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c360a722cca3881b9775649ad50c534823efd3fb9dc9975ab00e597ebff70332"}},{"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":"scripts/drawio-zip.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb05db2daec9cd04bad683c65e6d47945bc3a6ae06b32850e91c8cd125d5ce7"}},{"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":"scripts/afterPack.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebab2732b4d6c823269fba70f38eaebecdda535b4ae3d48f0598539d36f2c7fc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/check-package.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6023405058845a90471686de4bf2dd7007e4c8cdd8f16ea15a4746a03ce1028"}},{"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":"components/ui/scroll-area.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7a819a4430a6e2d4cb5a1450c750807448489b895a1754facf7a62ecfcc5eb"}},{"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":"scripts/prepare-electron-build.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d554aa65a98d84b08a87550c99076c0085bd7596cf7c68c095872eace93ca0"}},{"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":"electron/main/config-manager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba1d4348f5152a08ad768ff9d72ad25e7d92f711e65374824b5f50700c57104"}},{"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":"app/global-error.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a051b18e1ab63bda1b7f6ebe81d420b0ab33580ead61bb982a8affe731ae45a6"}},{"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":"electron/main/pdf-export.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3f3dfe15bfba6c6fea01ad351e17047493db65b3ca9650aeaa0e810370d677"}},{"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":"components/chat/chat-versions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0339a29b65d4efeb310152de461ef4b05cc95dbc37b235b9784ec2b88bde5e0"}},{"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":"electron/main/env-loader.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2804bcf858e4d4c00f50ba93dcbc8a873cf25804f4e83cddb47ad865f0bff1c3"}},{"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":"scripts/copy-dereferenced.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6015ea519588308605a8d75bf3b30ae45b695c5fcfa259d5840b0c708102f916"}},{"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":"components/ui/popover.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d76d64dc62ecfc0a79dcf33756c781b44a0d114c338ffd922a8089a30ea6ea2"}},{"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":"instrumentation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e39266f189f4cd34938197202bb962e9c4e2a0f0c5a3505cba140e48c1b97e"}},{"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":"electron/preload/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92bcc95124ec7d8ae8f620e90d0a28bcd0f4a6f25ed58c48b6f1ae7f2b7d189"}},{"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":"app/[lang]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f954c9d31de5ccc3261e94a0020a26fa381282d401092f46b8689aac464fd4d"}},{"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":"components/ui/collapsible.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d159990f63dbad5a82452c84c2bb82ebf58e390bde2ff6ac27d419baf895bd66"}},{"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":"app/sitemap.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85ddccc3612b7e1f31fc070d6fdfb41b65424c32bbeae1b02576407c9c81b30"}},{"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":"components/workspace/docs-button.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df77ebe9fc3605cfd5723f54fd4cc406b0004b2156a9c56b6282cee51280d3eb"}},{"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":"app/manifest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a6a9219651b15da48452284443088a6d433b59b065d2adb366bdcec089d374"}},{"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":"components/workspace/brand-mark.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e5cc85d0c20ad80daf2cb0c805f40ad99af3782c1518d3af80e54603580b29"}},{"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":"hooks/use-panel-width.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61160c2a43e796ac25dbc4b152c8e0b98050f26c36c7f08ffaa83b0ec923a3a8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/copy-assets.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72134f53e159073b1d161325fb944bb3d7d97dc31040e9e758a268e544f1c37"}},{"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":"app/[lang]/error.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a40cdfa8b7151247147cd53124cb76d5ebe2a7fcb1e6064f062a54383cfd1a"}},{"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":"lib/i18n/dictionaries.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ec977d583edf9d8dc8437a79ec03b4fb4463b4e0d0001fdb0c1cf582524227"}},{"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":"lib/relative-time.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a1606c891d54ad75efd59e37860811fe5b3223de95a1928f5d8386dc83c7b6"}},{"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":"app/[lang]/admin/layout.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e88cd61890ed40176bfb1f33b283c7c0b1038040428601f1a718dbd46de9f6a"}},{"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":"components/ui/textarea.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1373352740d7d62ff529b46dd8580b96940644cabbb1b037c5b8dddecb70f817"}},{"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":"components/image-with-basepath.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"836a5ef3a8eb9ad7c871501d65968098ef172088167fea828d43f4b8a80cf57c"}},{"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":"app/robots.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7d13e2fdb77439fef49582e6306c73d55804c147194177f82a3108b0208d30"}},{"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":"app/[lang]/not-found.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb052d94e0826a4a6af12ee1556d0042f93789edd022f8dd4d3e6ce546c7e54"}},{"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":"hooks/use-path-locale.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d2eaecb9c1c0028988d06f87cb0a99ea51ab1994b22e56c7bdb6f24b47a337"}},{"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":"app/api/server-models/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc25a3428c0107c86aa65c21edf52d3813e6b277c34ea38ade3bbaa244154be0"}},{"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":"components/settings/settings-header.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fe4cda4fa167165437aae58661df71be5f174cdbc13e9983a609ed24971aff"}},{"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":"app/[lang]/[...rest]/page.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f949438787d48c5209f852519e5c3bada55f5b6aa88511b82d6f735c580ad491"}},{"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":"app/api/config/route.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b4269506ef0c4a4561acfdd20d568a632f9634a373760b5d7d6e114f3ffb1f"}},{"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":"lib/platform.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adea2c3a2d0958b5c0752741601ce87861f17ad770416fa314b2c4dd9254db4"}},{"ruleId":"R5","level":"warning","message":{"text":"Dependency Freshness: 34 outdated package(s); JS/npm CVEs scored in D30"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7de98450603a813bc7a991bc6e60f440c1deac6f9c9bfd4d0da057afed869bcf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~64 LoC): no import path from any entry point (111 application, 16 tooling, 135 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":"scripts/afterPack.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfcfac17762f87171a1917b5e3c9d7addecc8cf7c229d82d1aeb21c00b70078"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ChatTools\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/chat-tools.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8098285b4d97210975cd84b86a47cdd337c57a9b6d7de2931923ee0afa015832"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027config\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"proxy.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e43a7e65f6ee18cc76d7989e3513c8d4edc4d1339bd2df242b83684945c9a19"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@next/env\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/fetch-drawio.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e84ca00c39fc857dfbae1198b2a9eb515bec526851db973d48f32e566068ce"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027remark-gfm\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3cb895f6c6d3c091f6ebe5542e7757b30659724da2a1a957d79eea45a5a57258"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tailwindcss-animate\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c4596162b4228cf20b760ae14dd471a2c9f9e1957d0fccb767ee2de53c0faae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!process.env.LANGFUSE_PUBLIC_KEY || !process.env.LANGFUSE_SECRET_KEY\u0060 appears character-identically in 2 files \u2014 instrumentation.ts, lib/langfuse.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":"instrumentation.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a3fba129c5e9d936f5dd9030309c9b6d09d92e46d6ea5c9406ceb1fb2465a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(forceReload || (s.version \u003E currentVersion \u0026\u0026 !projectionExportActive \u0026\u0026 !ownPush)) \u0026\u0026 s.xml\u0060 appears character-identically in 2 files \u2014 packages/mcp-server/shell/mcp-sync-core.ts, packages/mcp-server/src/preview/preview.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"97849bb70cc60950abd96676621c28ae1a5ec2c203c564ecd18ad593642395af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number(process.env.DAILY_REQUEST_LIMIT) || 10\u0060 appears character-identically in 2 files \u2014 app/api/chat/route.ts, lib/test-model-connection.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":"app/api/chat/route.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b866922e738f0cf78892807ce18ee6c3fb05df80c6e35ff3513ede33babcb37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number(process.env.DAILY_TOKEN_LIMIT) || 200000\u0060 appears character-identically in 3 files \u2014 app/api/chat/route.ts, app/api/validate-diagram/route.ts, lib/test-model-connection.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":"app/api/chat/route.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdc4dcb793aec60749875257684fcbe805a6ea806c2d6a882b492ebc6d7fb7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060baseUrl \u0026\u0026 !allowPrivateUrls() \u0026\u0026 (await isPrivateUrl(baseUrl))\u0060 appears character-identically in 2 files \u2014 app/api/chat/route.ts, app/api/provider-models/route.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":"app/api/chat/route.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"689ec50f55cf19a7ab2b1f32b49c23c444771f666b93b6b81dff20c85f6302e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data \u0026\u0026 typeof data === \u0022object\u0022 \u0026\u0026 !Array.isArray(data)\u0060 appears character-identically in 2 files \u2014 electron/main/config-manager.ts, electron/main/proxy-manager.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":"electron/main/config-manager.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cf973411bb0298d4214efa365d8daac5e9f579648486c322aba64fc749cd30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.nativeEvent.isComposing || e.keyCode === 229\u0060 appears character-identically in 5 files \u2014 components/chat/composer.tsx, components/chat/session-menu.tsx, components/model-config-dialog.tsx, components/save-dialog.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":"components/chat/composer.tsx"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"5377eeb2726570b9326eda2633e821c0e11df6aa8c0037fbbf148f26bfabbfad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event instanceof KeyboardEvent \u0026\u0026 event.key !== \u0022Escape\u0022\u0060 appears character-identically in 2 files \u2014 components/site/language-menu.tsx, components/site/site-menu.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":"components/site/language-menu.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c26f3ebe39fd205dd319782892a422facdc4ea98c028216ef7398b8eaaecad6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event instanceof MouseEvent \u0026\u0026 menu.current?.contains(event.target as Node)\u0060 appears character-identically in 2 files \u2014 components/site/language-menu.tsx, components/site/site-menu.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":"components/site/language-menu.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc88f3a9ba2776cde64df6a323fcabb5df0610999125adaca1b61577141afd27"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060localStorage.getItem(STORAGE_KEYS.accessCode) || \u0022\u0022\u0060 appears character-identically in 5 files \u2014 app/[lang]/admin/models-section.tsx, components/model-config-dialog.tsx, components/settings-dialog.tsx, hooks/use-model-config.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":"app/[lang]/admin/models-section.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"77de5d361bee45e88b966257272948246e9929ff11db8dd286b08858ea27f556"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pendingMcpExport \u0026\u0026 seq === mcpExportSeq\u0060 appears character-identically in 2 files \u2014 packages/mcp-server/shell/mcp-sync-core.ts, packages/mcp-server/src/preview/preview.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdccf2db11f4f2bfd8ba4e49498b69cec7c62ea1270f429eba04979e10d8b007"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060s.syncRequested \u0026\u0026 !pendingSyncExport \u0026\u0026 isReady \u0026\u0026 !projectionExportActive\u0060 appears character-identically in 2 files \u2014 packages/mcp-server/shell/mcp-sync-core.ts, packages/mcp-server/src/preview/preview.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e914752fd548c54e2644d09f2b81f11fbec42f3adcf3f4fcff50938eb0469a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sid !== stateId || d.version \u003C currentVersion\u0060 appears character-identically in 2 files \u2014 packages/mcp-server/shell/mcp-sync-core.ts, packages/mcp-server/src/preview/preview.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b262a9650537bde50e7cdd27e991fce2583d094016ef7b407b8ccf1d5a1f93b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060usage.inputTokens === undefined \u0026\u0026 usage.outputTokens === undefined\u0060 appears character-identically in 2 files \u2014 lib/chat-message.ts, lib/model-catalog.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":"lib/chat-message.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6efb11247d65a3897e09dba9af47082a074adbf9c12a1be110d7c8e99036b1"}},{"ruleId":"X14","level":"warning","message":{"text":"IP classification is bypassable through an IPv4-in-IPv6 embedding: This function unwraps IPv4-MAPPED IPv6 (\u0060::ffff:\u0060, line 21) and then rejects \u006010.0.0.0/8\u0060 on its IPv4 path \u2014 but the IPv6 decision at line 16 classifies the address as written, and IPv4 reaches IPv6 through three MORE embeddings this function never mentions: IPv4-compatible (\u0060::a.b.c.d\u0060), 6to4 (\u00602002::/16\u0060) and NAT64 (\u006064:ff9b::/96\u0060). So \u0060::10.0.0.1\u0060, \u00602002:0a00:0001::\u0060 and \u006064:ff9b::10.0.0.0\u0060 all name a host inside \u006010.0.0.0/8\u0060 \u2014 the range this same function declares non-public \u2014 and all reach the IPv6 decision un-unwrapped, taking the opposite verdict. Unwrap every embedding to its IPv4 form before classifying, or reject any IPv6 address carrying an embedded IPv4 outright."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ssrf-protection.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed8f18d3000d1fc125c21cf7539e9ad68b3bbc6b2cff72d88db5b2945ff8263"}},{"ruleId":"X19","level":"warning","message":{"text":"Process-global state is restored only on the happy path: \u0060applyProxyToEnv\u0060 changes state that belongs to the whole PROCESS and changes it back at the end of the same body \u2014 the \u0060HTTP_PROXY\u0060 environment variable (set at line 64, cleared at line 67) and the \u0060http_proxy\u0060 environment variable (set at line 65, cleared at line 68) and the \u0060HTTPS_PROXY\u0060 environment variable (set at line 72, cleared at line 75) and the \u0060https_proxy\u0060 environment variable (set at line 73, cleared at line 76) \u2014 which says the change was meant to last no longer than this call. But the restore is an ordinary statement on the straight-line path, not a \u0060finally\u0060, so it is skipped by any exception thrown in between: the process then keeps the overwritten value for the rest of its life, and every later relative path, child-process launch or config read in ANY module resolves against it. That failure is silent and remote from its cause \u2014 the function that breaks is not the function that moved the directory. The durable fix is not to widen the restore but to stop mutating the global: pass the value to the operation that needs it \u2014 the \u0060cwd\u0060 and \u0060env\u0060 options of \u0060child_process.spawn\u0060/\u0060exec\u0060/\u0060execSync\u0060 (or \u0060Deno.Command\u0060) scope both to the CHILD \u2014 or build absolute paths with \u0060path.resolve\u0060. Where the global genuinely must move, wrap it \u0060try\u0060/\u0060finally\u0060 so the restore runs on every path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"electron/main/proxy-manager.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8899468f596eec1ca8484e25c75f0f8761b0ea8412f83aea4e82b1ee4047e954"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 6/13 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: waitForServer: \u0060waitForServer\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":"scripts/electron-dev.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4a22fc9c3fe69e206bead4eeace1a72a13de0ecb7bde6e21613ea36b9015db"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: readWar: \u0060readWar\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/fetch-drawio.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cb11141677c72a4cc2dbe8464cda418bb92afe1e47b18c885c91c4fe886213"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: sendErrorReport: \u0060sendErrorReport\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":"lib/client-error-report.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5abaad843f5563e0921fc6d6a26b076bfd84aed483c13f086f351a5f07d9f20"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: extractUrlContent: \u0060extractUrlContent\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":"lib/url-utils.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"16576d8dd2c6092fcc95f7de387bf70859f62f89ca7747d4f2474e31f26d035d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: waitForServer: \u0060waitForServer\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":"electron/main/next-server.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"314bd0a7dccff96b88a0d1b2d4719b5b9bda7bbe09811202ab32d9cc0c7aeb5d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: logSaveToLangfuse: \u0060logSaveToLangfuse\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":"contexts/diagram-context.tsx"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"7500e783109b42dffc526ddb7e89abe3fa29d2b8096dd4910806a3a8f722e3b6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadExampleFile: \u0060loadExampleFile\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":"components/chat/lobby-hero.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64372fd23d63cb6914844e6b9bd65220e47c0050b4b203095b69eaa50006968"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 370 is called with an argument built by \u0060Array.from(cellsToDelete)\u0060 (line 371), whose cost grows with the collection it walks. JavaScript evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/diagram-operations.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cb2e19d28b9d660d667cba4aeab5169377786bf2efb391fbacf70db82f2135"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060JSON.stringify(jsonLd)\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/[lang]/layout.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"61de6d1bf4ffa969a79ad302fcd6fada341857def94b96d8a0e9c546161684c0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060tipHtml\u0060 is text this program did not author, and it is written into the text of an element through \u0060dangerouslySetInnerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components/quota-limit-toast.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c330c191b8594bb50ab4592f0fe3c80829157e451e2e2b58a081b68229210163"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060ui\u0060 is text this program did not author, and it is written into a URL attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/check-drawio-files.mjs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d156297e9bf5d569d30a80c232ac1bf984c5711910bea7b30ff3262799561b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060sessionId.slice(-8)\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/http-server.ts"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca891304b2b324bd5cad03413b830a16746c23c9b1c5c4a749582adf4c0386b6"}},{"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":"stores/settings-store.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d16195d3423338964e55553a7fbbbe9fdcba48595419fe0601c8dd0848861d"}},{"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":"scripts/electron-dev.mjs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d434b96a79ec7f67dc0f28ac43950172758deecb916226ce8bcfcd8417464ab5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/exclusive.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8f25b96378f6284474be5a665b299c343b65ceeb31ccb4464e1baaaff97be6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/http-server.ts"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f94e0411d0466372ea6a4df3fd5ef24880e4856ce1621524b2ad9224a5c851"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/index.ts"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e706d70e4172ef8020b56ff561023a5265fbe1c4ebc96236fd498729f54f1b8d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/shape-library.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"42566d8e0055020262e48409b035804eca93834261ec10525e364339279e99c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"911b9579dc9c58072fda5480cc677251e197ca63a7efb6d65b182d874f6e98ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"568daa33ba4335585a36455d3ce9c7abbdb2a7cad3d8cef48475df713d488cef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2610e74454b6b2acacf774d12843805b9be9690486e6e6885215a0a5631040"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0032236bde40bbe4eceb09986d2ef38e20e2bd9d846d4638fe0d47e227cacef5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba71f19a517dfe1c363e7e6d21cc235af67074eeef94d793afee55b164ede1c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/preview/preview.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b471571e46c1e3b349736c799c1d4628f554cea761d946d5b23566beeebc9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a127ccf611c3721129bc00e95c5e3d0c5df6695fdeb76af57226f4b956a0ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f052e34f1afb1625baaa7592c96617c467f1619f54f6c3a0954974266d892bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d78cc4d6cc18a0c934c719bffae869dcb3fe00fa4bd10a51e3ea17423361066"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/shell/mcp-sync-core.ts"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"6721a30551e9d76eb268dc2deaefde120ddd8eac67661374209eb0dbbfb0ba65"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/shell/theme.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a32ca475b604a5bd1d7f21ff06e1affedb39391a70037a627197c1f72ee775b"}},{"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, 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":"packages/mcp-server/shell/use-mcp-sync.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9ffa5857d78791b4a86d40336f52ee4983ada99eef10f82605ed3d2a43fa93"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/check-drawio-files.mjs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7ff750bcf79cad0c5ecb82395403b948776d07191fc1c507e0c0ec9bf13d85"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/check-drawio-files.mjs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"008edbe1d9ba2166ea5ca644e4e5554148c26871eb286012aeeedce2335b0bd0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/check-drawio-files.mjs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5972e676c66a76bd1659326334bb3ce7fab44a270d2e34a7dab48f51eeb1005"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/check-drawio-files.mjs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"156f3f7471204eaa061736267cf180a7ab88b13ead92061adf771f53305d867d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/check-drawio-files.mjs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"011163c4c48a402130e688e097c74d0fdac98fda9f2af8443441e3783b0d4d04"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/scripts/check-drawio-files.mjs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f2058fefbc5ce1ccdc0aa75f93821f2f798bd4007b37c759d72e4eb789f6c0"}},{"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":"lib/chat-helpers.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"032fe53fc7ed70953c1dc67ebdf48481945fe3f66932494fb52f08cdd1b9cf85"}},{"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":"lib/read-limited-body.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"372e60f63ad664068c895625394505ce5c6d53a5ebd07e05913793b21b5d8804"}},{"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":"lib/session-storage.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea714bf6f035b76b6195ee4c4464a4ee4bed9f4418199eb744e706e8206a1c2"}},{"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":"lib/drawio/editor-bridge.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e18ae2d805bf1c862e4e079b1122331516b12b7d9cb10f764a7624345d638b8"}},{"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":"lib/drawio/editor-bridge.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29b0c327ad7c5ae6d0e778e07c70a0c152d2d27710b8bac8227f89aecf228d7"}},{"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":"lib/drawio/editor-bridge.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4faed4440a1c8e62772d7fbe910750318c20da5ac64cb9ffffaa36be8a0f3d95"}},{"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":"lib/drawio/editor-bridge.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2136a622d903405df429d9b31804422aa81a213d0d137c94b2dbcd331368d2bf"}},{"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":"lib/drawio/editor-bridge.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d7448ed115baa7b9db37b998b63855c2b3359c2f250b1eba0f6de39ad7ec01"}},{"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":"lib/drawio/editor-bridge.ts"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"5838512ce395004465d0923e8c1b5f5ba7d9761052ee8b9b99a8e595dbfbaa6b"}},{"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":"lib/drawio/editor-bridge.ts"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c44a6ca323f62e20db7fa18ff2073855a94e2113ffb656a711a99cec7c728b"}},{"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":"lib/drawio/editor-bridge.ts"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"41eacdd6fcf5a41b5ee34ef3d80954e0ef35040ef2f49cddbaa30e06c35b24c2"}},{"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":"lib/drawio/editor-bridge.ts"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9715fa7b5f826279472cf76e56e8de10c4ddba60f43c033d0104613fb3f77bf"}},{"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":"hooks/use-model-config.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9bb834f44d9748995bb37794904a0cfd0d96f6067d082ff2fc10c436206c9f"}},{"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":"hooks/use-session-manager.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"13229028a38154b8eb65c2714b84c1a9da08617d4c8f8aed3af4033bc9791a84"}},{"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":"hooks/use-session-manager.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6bf47343025e7f774af6270eed7bba96346713b289d01eb4d58a3ce42f5d9c"}},{"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":"hooks/use-session-manager.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d2beb56f3abe91cf948adb32fc11808baf1a061f9cefa980d59b58ba8f9387"}},{"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":"hooks/use-session-manager.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c9787dcfb064d52e4204792b250e5935c2a6f77a3480c8ef2bb6bc4ec2fc5d"}},{"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":"electron/main/next-server.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eced74bdfe53e2da3f1a12f4efe76c34e67107cafbb7e41755199f5bace777e"}},{"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":"electron/main/next-server.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2491cefb5934e8cd846d7e80e2a06f4596f06ff54ddac9fbe9ae72c02082883d"}},{"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":"edge-functions/api/edgeai/chat/completions.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a4c697d14df4a8980ffd2d185704c18fb4d676f95ca88361a26dc818714009"}},{"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":"components/settings-dialog.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e38782fbb2deabb86e09dc44557a8ac64a76f804dc9895f030d6488a39b5a92"}},{"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":"components/chat/chat-engine.tsx"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21179813fb5181e73da9d6119070b4c31a16ad97b5ca293c796a7a040f8f425"}},{"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":"components/chat/mcp-notice.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86fa8fc9867bd97f5c66558831a9f54659b2edb60e3583bc78fc5146771fb21"}},{"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, 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":"components/canvas/drawio-frame.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c11382d4c02caf322841595442a232b999c2ef1716e0e495e9e5bf44602878"}},{"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":"scripts/indexnow.mjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91e61eef417dcb2ff26629992d23515a971f9dade624e5853d32469542f547f"}},{"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":"packages/mcp-server/src/compact-cells.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2708510aceaf80d9a0f124feaeec5b2e6047423fc42c86405337addb3894e457"}},{"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":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"831625a0ff1671aebdccef6200d33fca4563e9421672b0e25581dd6c22bb139e"}},{"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":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cab26b723cbadb0839f4b633c9f89d2a53b5675225872d26ab906def0243f0"}},{"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":"packages/mcp-server/src/xml-validation.ts"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"153aa3baf6958c3d7020a6da5f3a70ef3d4f1ee2f2a78b5bd88fdd6c8d23eff2"}},{"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":"lib/utils.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00ca642b0f70567bcf80187beb3fd9f1423a862455371596e84dc5abfbc020a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060detectCharset\u0060 swallows every exception into \u0060return \u0022utf-8\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"app/api/parse-url/route.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d56e1868b191468e8de19a78347c1bc006178f04a197a027a1c573a046a1d5a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060savedProviders\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":"components/model-config-dialog.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f9e51c36cfe13e8152f9f48e203e0df1321c8fbf604709232cea60e0b5b931"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readDrawioVersion\u0060 swallows every exception into \u0060return \u0022\u0022\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp-server/src/http-server.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b22d1233dc6a9f478f080ac644a5a14e5a2d6dbdf9b0d7f37141dba5d28c40d"}}],"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-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-209","guid":"da28ecd2-f5c1-7852-ac41-a93b2d668c73","name":"Generation of Error Message Containing Sensitive Information","shortDescription":{"text":"Generation of Error Message Containing Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/209.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-346","guid":"07c355cb-45b6-d05e-8a2c-9f686bc45618","name":"Origin Validation Error","shortDescription":{"text":"Origin Validation Error"},"helpUri":"https://cwe.mitre.org/data/definitions/346.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-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-862","guid":"2d96ecd7-f7f1-7f55-9f3a-43bb5bafdf33","name":"Missing Authorization","shortDescription":{"text":"Missing Authorization"},"helpUri":"https://cwe.mitre.org/data/definitions/862.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"}]}],"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":94,"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."]}]}